A python interpreter built on flask used to run code your code over a broswer through a subprocess.
-
Setup your local machine to have Python 3.7, lower versions will not be compatible with APIs in this project.
-
Clone code from the master branch, change to the PyOnline directory. Your machine will need to have the python3-venv package to create virtual environments. It can be installed on Linux Deb distros with :
sudo apt-get install python3-venv
- Create a virtual environment 'env'
python3 -m venv env
- Activate the virtual environment
source env/bin/activate
- Ensure all requirements from requirements.txt are satisfied by installing the requrements from the venv.
pip install -r requirements.txt
- Run the app from the PyOnline directory
python app.py