/expense-logger

Web project that helps users easily input their daily expense data in Google Drive Sheets. Emphasis is on ease of input and simplicity. Author didn't find and suitable expense tracking apps for his needs so he created this instead.

Primary LanguagePython

General set-up

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

Local development

Run:

docker-compose up

Production

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