- pip install -r requirements.txt
Go to the directory of server. Run flask at the port 8050 in command line (where client listens):
- set FLASK_APP=server.py
- set FLASK_ENV=development
- flask run -h localhost -p 8050
-
Install nodejs
-
Install vuejs cli globally:
npm install -g @vue/cli
Go to the directory of the client. Run below commands in a separate command line. And in browser, go to the directory shown once the client starts.
- npm install
- npm run serve
Everytime a new Python package is installed. Include it in the requirements.txt.