Project GreenEye Python/React Web Application
-
go into app's frontend directory $ cd reactapp/frontend
-
install app's dependencies $ npm install
-
Start the frontend server $ npm start
-
Go into app's backend directory $ cd reactapp/backend
-
Create a virtualenv for this backend app (Refer to this link on how to create python virtualenv) https://timmyreilly.azurewebsites.net/python-pip-virtualenv-installation-on-windows/
-
Within the virtualenv, install all necessary python libraries $ pip install -r requirements.txt
-
Start the backend server $ python application.py