Define the .env file (start pby coping the .env.dist: cp .env.dist .env)
To build the webpack project (js, css, ...):
npm install
npm run dev
npm run prod
npm run watchOptional: Update the images:
docker compose pullStart the project:
docker compose up -d --force-recreate --remove-orphansLocal skeleton development:
docker compose exec skeleton preview emsch:local:pull
docker compose exec skeleton preview emsch:local:status
docker compose exec skeleton preview emsch:local:login
docker compose exec skeleton preview emsch:local:pushUseful urls:
You will have to accept self-signed certificate
- Traefik: routing app
- Preview URLs:
- Live URLs:
Useful commands:
docker compose exec skeleton bashYou enter in the skeleton pod:preview: run the symfony command in the corresponding contextzz_live: run the symfony command in the corresponding contextpreview c:c: clear the cachepreview debug:route: list the template's routescurl -v -s --header "Host: preview.cv.localhost" http://localhost:9000 1> /dev/null: test the config
docker compose downTurn off the podsdocker compose psPod's statusdocker compose logs -flogs- Test the live urls/config with docker:
curl -v -s --header "Host: mathieu.dekeyzer.net" http://localhost:9000 1> /dev/null