This project handle multiple environments with target through
./configure
.
./configure --env=dev # If you have npm on your computer
./configure --with-docker # If you want docker with http://localhost
./configure --with-docker --with-proxy # Docker with traefik
And extra flag for cleaning files is also available: --clean-before-tasks
.
Then, run make install
and profit.
N.B : Traefik required an external network. The make install
command will try to create it if it not exists.
But in case an error occured, you can try to create it manuelly with docker network create traefik
(look in docker-compose.override.yaml
to get the exact network name).
make start # Start the project
make stop # Stop the project
make clear # Stop and clear the project
make reset # Clear and start the project
make assets # Build assets
make watch # Watch assets
make watch & make jekyll-watch # Allows webpack watch & jekyll watch simultaneously
Use the fg
command to regain control over the make watch
command running background after terminating make jekyll-watch
# And moar!
Application: http://www.akawaka.localhost
If you want to update an environment you need to:
- Add your files in
infrastructure\<env>\autoconf
- Update
configure
bash script - Test your application against environments.
This project is a good old fashioned html static website with webpack encore and tailwind.