- Node.js > 9
- Python 3
- Node.js > 9
- Python 3
npm install
This will install node modulespip install -r requirements.txt
This will install pip modules
gunicorn tsp.web:api -b 0.0.0.0:5000
This will start the python API- In separate terminal:
npm run start:development
npm run build
This will prepare an optimized production buildgunicorn tsp.web:api -b 0.0.0.0:$PORT
This will run the python server atPORT
- Currently access to API is protected with basic login/password
- To view the password and modify it go to
tsp/web.py
- To change google API KEY modify the
REACT_APP_GOOGLE_MAPS_API_KEY
environment variable - To modify landing page contents go to
public/index.html
- To modify the demo app go to
src/index.js
- To modify the python API go to
tsp/web.py
- To modify list of points for the demo app go to
src/data/points.json