First install python 3 virtual environment python3 -m pip install --user virtualenv
-
Create virtual machine
python3 -m venv /path/to/virtualenv
-
Activate the machine
source /path/to/the/virtualenv/bin/activate
-
Set env
export FLASK_APP=backend
export FLASK_ENV=development
-
Setup
pip install -e .
-
Start the app
flask run
- Install node.js by running "sudo apt install nodejs" in terminal
- install npm by running command "sudo apt install npm"
- npm install ( npm rebuild if didn't work)
- npm start in dir frontend
https://docs.google.com/document/d/1eLq4cELIre191PyiXXTQSmdhI9Q_1StRKt-wmhKU3dY/edit?usp=sharing
virtual_machine | student |
---|---|
id | id |
user | connect_time |
disconnect_time | |
password |