Download the project dependencies:
Run the development server:
make install
make start
Show another magic of make.
make help
Add your public ssh key to the server in ~/.ssh/authorized_keys
.
Run deploy.
Attention! The script below deletes all unused docker data on the managed node.
make deploy DEPLOY_HOST=206.188.197.52 DEPLOY_USER=ansible DEPLOY_PROJECT_PATH=/opt/test APP_IMAGE_URL=ghcr.io/stounfo/day_statistic_backend:latest
DEPLOY_HOST - host of the server
DEPLOY_PROJECT_PATH - path where the project will be installed on the server
DEPLOY_USER - username on the server
APP_IMAGE_URL - URL with a application
Work in progress.
Contributing cheatsheet.