Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 869 Bytes

README.md

File metadata and controls

48 lines (33 loc) · 869 Bytes

Quickstart

  1. Tested on Python 3.10.0 (see instructions below to setup pyenv)

  2. Install and start the server

    python3 -m venv env
    source env/bin/activate
    pip3 install -r requirements.txt
    python3 server.py
    
  3. Navigate to http://127.0.0.1:7777/index.html

If you run into issues with pip3 install -r requirements.txt in step 1., this may be due to a Python version incompatibility issue. Try following "Manual Installion" instead.

Manual Install

  1. Initialize and activate virtual python environment
python3 -m venv env
source env/bin/activate
  1. Install flask
pip3 install flask
  1. Start server
python3 server.py
  1. Navigate to http://127.0.0.1:7777/index.html

Setting up PyEnv for MacOS

brew install pyenv
echo 'eval "$(pyenv init - bash)"' >> ~/.bashrc
pyenv install 3.10.0
pyenv local