We need to implement a lightweight backend to be able to continue development, as well as the upcoming features.
Steps
create a virtual environment called .venv for Python3. (DO NOT COMMIT these to the repository). Learn more about virtual environments here and Corey Schafer tutorial
create a file called requirements.txt, add the following contents:
flask==3.0.3
Activate the virtual environment by running source .venv/bin/activate
Run pip install -r requirements.txt to download the required packages.
Follow the quickstart tutorial here to build an initial flask app.
Render index.html and editor.html to be accessed via / (root) and /editor endpoints, respectively. See examples here
We need to implement a lightweight backend to be able to continue development, as well as the upcoming features.
Steps
.venv
for Python3. (DO NOT COMMIT these to the repository). Learn more about virtual environments here and Corey Schafer tutorialrequirements.txt
, add the following contents:source .venv/bin/activate
pip install -r requirements.txt
to download the required packages.index.html
andeditor.html
to be accessed via/
(root) and/editor
endpoints, respectively. See examples here