From 1b8dc99b872b5d14fe0c74f338ea95f6be576a39 Mon Sep 17 00:00:00 2001 From: Matt Grau <graum@Matts-MBP.waau> Date: Wed, 14 Jul 2021 13:56:44 +0200 Subject: [PATCH] add requirements.txt file and steps to README.md to run the repo from scratch --- README.md | 14 ++++++++++++++ requirements.txt | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 requirements.txt diff --git a/README.md b/README.md index 87f01c5..21d629a 100644 --- a/README.md +++ b/README.md @@ -57,3 +57,17 @@ npm run-script build ```bash pip install waitress ``` + +## Running the final repo + +To run the final version of the code, clone the repo, and run the following commands from inside the repo folder. +```bash +python3 -m venv demo_venv +source demo_venv/bin/activate +pip install -r requirements.txt +cd frontend +npm install +npm run-script build +cd .. +python3 server.py +``` diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4319354 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +flask +waitress -- GitLab