#Online Computer Vision
##Repo Structure
- The top level folder contains all the backend files. This is to facilitate Github integration with Heroku or AWS.
- One of the top level folders is the frontend folder. This contains all the frontend source code.
##Run your own copy
- Download/clone repo
- Using command line interface (CLI) from top-level folder run:
pip install -r requirements.txt
- The backend will require these environment variables:
- FLASK_DEBUG (a 'true'/'false' boolean)
- SECRET_KEY (some secret string)
- ORIGIN (the url of where your frontend is hosted)
- Then run
python application.py
to start running the server locally - Now in a new CLI, navigate to frontend folder and run:
npm install
- Then while in the frontend folder, run either:
npm run start
to run the frontend locallynpm run build
to generate the bundled html, css, and javascript to deploy online