/hackust

reezy: web app for uploading and scanning your receipts w/ ocr

Primary LanguagePython

Hackust

Receipt Tracker

Setting up the environment (Linux)

  1. Create virtual environment
python3 -m venv env
  1. Start the virtualenv
source env/bin/activate
  1. Upgrade python stuff
pip install --upgrade pip setuptools wheel
  1. Install the node virtual environment
pip install nodeenv
nodeenv --python-virtualenv
  1. Reactivate virtual environment
deactivate
source env/bin/activate
  1. Install required modules
chmod +x bin/setup
./bin/setup

Compile front-end source Code

  1. Run webpack to compile React into Javascript code. This should create a bundle.js file. This should happen after modifying .jsx code.
./node_modules/.bin/webpack

Running the Application

Although you can run the application right now, not all functionality will work unless you complete the steps in the section below.

  1. Run the script to start the server
./bin/run_flask