diff --git a/readme.md b/readme.md index c142ef5..f631a41 100755 --- a/readme.md +++ b/readme.md @@ -1,3 +1,20 @@ +# Specifics for CHILL website + +## Using docker +Since we are using docker to launch the website a few things must be done if you are launching it for the first time. +Follow these steps: + +1. In docker-compose.yaml file replace `npm run dev` with `tail -f /dev/null` + (This allows the container to keep running while we install all the dependencies in package.json. Without this command the container would exit, because of error) +2. In another terminal window go into the container `docker-compose exec front sh` +3. Run `npm i` +4. Once all dependencies are installed exit the container and stop the container running in the other terminal window +5. Change the line `tail -f /dev/null` back to `npm run dev` +6. In the package.json file change the dev command -> `"hugo server --bind 0.0.0.0"` +7. Launch the container again `docker-compose.yaml up` + +-------------------- +
Hugoplate is a free starter template built with Hugo, and TailwindCSS, providing everything you need to jumpstart your Hugo project and save valuable time.