A website made with Python and Sanic. It uses Bootstrap in the front-end.
- Populate the .envfile with the necessary information as outlined in.env.example.
- Install the requirements by running pip install -r requirements.txt.
- Run the server with python run.py. The server should be up and running atlocalhost:PORT.
- Populate the .envfile with the necessary information as outlined in.env.example.
- Build and start the container in detached mode using docker-compose up -d.
- Optionally, check the docker container list using docker ps.
- Update the local repo with git pull.
- Restart the container with docker restart <container_id>.
- Optionally, check the logs with docker logs <container_id>.
- Run docker kill <container_id>.