markov-chain-j-g.surge.sh
Flask api hosted by heroku, and React frontend hosted with surge
- Type this into your terminal
virtualenv -p /path/to/python venv
- Then type this
source venv/bin/activate
- then this
pip3 install -r requirements.txt
- Then the final step to getting it running
export FLASK_ENV=development; flask run
-
Make sure you are in the markov-chain-jg folder
-
they type this into your terminal
npm install
- then type this into terminal
npm start
- to find flask app running in the background. Second item is the id
ps -fA | grep python
- then kill it
kill id