Skip to content

theus77/my_blog

Repository files navigation

CV

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 watch

Optional: Update the images:

docker compose pull

Start the project:

docker compose up -d --force-recreate --remove-orphans

Local skeleton

Local 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:push

Useful urls:

You will have to accept self-signed certificate

Useful commands:

  • docker compose exec skeleton bash You enter in the skeleton pod:
    • preview: run the symfony command in the corresponding context
    • zz_live: run the symfony command in the corresponding context
    • preview c:c: clear the cache
    • preview debug:route: list the template's routes
    • curl -v -s --header "Host: preview.cv.localhost" http://localhost:9000 1> /dev/null: test the config
  • docker compose down Turn off the pods
  • docker compose ps Pod's status
  • docker compose logs -f logs
  • Test the live urls/config with docker: curl -v -s --header "Host: mathieu.dekeyzer.net" http://localhost:9000 1> /dev/null

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published