/divvai

A Flask web app for splitting receipts via computer vision.

Primary LanguageJupyter Notebook

divvai

A web app for uploading an image of a receipt and calculating who owes what using AWS Rekognition.

Development Next Steps:

Trello Board

Setup

divvai can be setup locally or deployed with Docker

Environment Variables

Use the env-file.template as a guide for the environment variables used in divvai.

  • Create an environment file and edit the env_file in docker-compose-dev.yaml to point to that file (default is dev-env-file)

Local

  1. Edit the env-file you setup for your target postgres db or use a docker pg
  • For the docker pg you can use docker-compose -f docker/docker-compose-local.yaml up

Docker

  1. Navigate to the base project directory
  2. Build the docker image docker build -f docker/Dockerfile -t divvai:latest .
  3. Run docker-compose with docker-compose-dev.yaml docker-compose -f docker/docker-compose-dev.yaml up -d