Generate credentials.json
file for Google API access. Callback URI should be https://localhost/authorize-callback. See https://developers.google.com/sheets/api/quickstart/python#step_1_turn_on_the.
Copy .env.example
to .env
and fill its keys.
To initialise DB in conteiner or after installing Python requirements locally run:
export FLASK_APP=expense_logger
flask init-db
Run:
docker-compose up
Get SSL certificate:
docker-compose -f docker-compose.yml -f docker-compose.get-certificates.yml up
Run:
docker-compose -f docker-compose.yml -f docker-compose.production.yml up -d