a directus monorepo boilerplate focused on ci
- create a new db
- configure
.env
file like.env.local
in/directus
folder
Build all packages:
pnpm build
Preparing db with Directus setup, snapshot and migrations & running service:
pnpm db:prepare
Running service (no installation) in watch mode:
pnpm dev
Workdir /directus
Utilities scripts (create roles migrations, translations, ...):
pnpm directus-x --help
Some scripts:
pnpm snapshot:create
Create e new snapshotpnpm snapshot:check
Print-out the planned changes (only from snapshot, not migrations)
Workdir /frontend
Workdir /packages/*
pnpm graph
- default env_file for docker compose is
/directus/.env.test
# docker compose --env-file ../yourpath up -d
docker compose up -d
origin/main
deployed to:
- https://directus.sulla.pizza credentials: [email protected] / demo
- https://directus-fe.sulla.pizza