- Git
- Docker
git clone https://github.com/CheckiePy/CheckiePyDeploy.git
cd CheckiePyDeploy
git submodule init
git submodule update
sudo docker-compose -f node-service.yml build
sudo docker-compose -f node-service.yml run node
Details can be found in the backend documentation here.
Details can be found in the backend documentation here.
Change server_name
in NGINX config.
sudo docker-compose -f http-compose.yml build
sudo docker-compose -f http-compose.yml up -d
sudo docker-compose -f http-compose.yml exec django python manage.py migrate
sudo docker-compose -f http-compose.yml exec django python manage.py collectstatic --noinput
sudo docker-compose -f http-compose.yml exec django python manage.py createsuperuser
To deploy the system with HTTPS, prerequisites and steps are exactly the same except for docker compose file. In this case you should use https-compose.yml
instead of http-compose.yml
. Additionally you need certificates and to change domain information (see nginx/https/checkiepy.conf
).