- create a new db
- configure
.env
file like .env.example- default for docker compose:
../configs/directus.env
- default for docker compose:
# docker compose --env-file ../configs/.env up -d
docker compose up -d
Build all packages:
pnpm build
Preparing db with Directus setup, snapshot and migrations & running service:
pnpm db:prepare
pnpm start
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
origin/main
deployed to:
- https://directus.sulla.pizza credentials: demo@directus.sulla.pizza / demo
- https://directus-fe.sulla.pizza