- install python if not already
- install flask
- http://flask.pocoo.org/docs/1.0/installation/
- Install flask-cors:
pip install flask-cors
- cd server
- replace
highlightsFunction
function with actual one in highlights.py - flask run
- install nodejs (latest 10.15.3 is suggested)
- cd client
- npm install
-
Check values in client\src\constant.tsx and udpate if required, change IP to where server is deployed
-
Production way (suggested)
- cd client
- npm run build
- cd build
- copy all files to server/static/ folder
- Server will be live on default port, mostly 80
-
Development way ()
- npm start
- live on 3000 probably