A compose file is provided for development:
cp .env.local.example .env.local
$EDITOR .env.local # fill out values as necessary.
podman compose up # or docker.
Then the Directus instance should be running on http://localhost:8055
.
This project uses bun for managing dependencies and running npm scripts but it could easily be switched out.
bun dev
Or start the server and open the app in a new browser tab:
bun dev --open
To create a production version of your app:
bun build
You can preview the production build with bun preview
.
To deploy your app, you may need to install an adapter for your target environment.