This project was bootstrapped with Express Generator.

To set up:

  1. clone and cd into server
  2. npm install -s (installing javascript dependencies)
  3. make sure python3 is installed on your computer (macs have this built in)
  4. source python-env/bin/activate (activate python environment to enable ML algorithms to run)
  5. pip install requirements.txt (installing python dependencies)
  6. npm start

To run:

'npm start'

Deployment notes:

  1. pip freeze > requirements.txt
  2. git add . and commit
  3. git push heroku master