This is taken from Miguel's SocketIO example
Client Run (runs on port 8000)
cd client
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python app.py
Server Run (runs on port 5000)
cd server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python app.py