From 1a17cf43f23e25551e8dec9d63f5054bd1f34cc0 Mon Sep 17 00:00:00 2001 From: "Ethan Clay (UWE)" <ethan2.clay@live.uwe.ac.uk> Date: Fri, 22 Nov 2024 09:14:34 +0000 Subject: [PATCH] Update readme and add required pip packages --- .vscode/settings.json | 7 +++++++ README | 12 ++++++++++++ requirements.txt | 4 +++- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..a06605d --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "search.exclude": { + "**/*.code-search": false, + "**/bower_components": false, + "**/node_modules": false + } +} \ No newline at end of file diff --git a/README b/README index 1e6f3e8..4792dd2 100644 --- a/README +++ b/README @@ -24,6 +24,18 @@ ########################################## # To run Flask you will need to be in the virtual environment, to get started enter the following command while within the flask-backend folder +# For the first time running manually you will also need to run the below additional commands + +# Linux +python3 -m venv .venv + +# Windows +py -3 -m venv .venv + +# Both Windows and Mac +Once done you will need to run pip install on each line of requirements.txt . Once done restart your command line and carry on from the below commands +to be fully setup. + # Linux . .venv/bin/activate diff --git a/requirements.txt b/requirements.txt index b71cdc4..e2f9266 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,6 @@ Flask>=3.0.0 flask_sqlalchemy flask_migrate pymysql -python-dotenv \ No newline at end of file +python-dotenv +jinja2==3.0.0 +jinja2 markupsafe \ No newline at end of file -- GitLab