Just a cms
Make sure you have installed the following programs:
- Docker (or Podman)
- Bun (or NodeJS & npm)
- Copy the
.env.examplefile and rename it to.env. - Fill the
.envfile with the desired variables - Only envoirment variables starting with
APP_will be available in your JabvaScript modules.
Setup backend components:
docker-compose build
Setup asset bundeling & hot reloads:
bun install
# for npm & nodejs:
npm install
Backend server:
docker-compose up
Asset bundeling & hot reloads:
bun run dev
# for npm & nodejs:
# remove `bunx --bun ` from the scripts in package.json
npm run dev
docker-compose run --rm php php public/index.php [command] [...arguments]