From cad9045fff20c0feca0b6aeba06fd2b479159dec Mon Sep 17 00:00:00 2001 From: Nikolay Chechulin Date: Sun, 8 Nov 2020 23:16:03 +0300 Subject: [PATCH] Add requirements (#7) --- README.md | 8 +++++--- requirements.txt | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 requirements.txt diff --git a/README.md b/README.md index 57612ba..aac6ae5 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,11 @@ For more basic knowledge of Flask, you can refer to [a tutorial on Tutorialspoin ## How to Run -- Step 1: Make sure you have Python packages *flask*, *hashlib*, and *sqlite3* installed. +- Step 1: Make sure you have Python -- Step 2: Go to this app's directory and run `python app.py` +- Step 2: Install the requirements: `pip install -r requirements.txt` + +- Step 3: Go to this app's directory and run `python app.py` @@ -55,4 +57,4 @@ A few accounts were set for testing, like ***admin*** (password: admin), ***test ## Credict Image private.jpg: https://commons.wikimedia.org/wiki/File:(315-365)_Locked_(6149414678).jpg -Image public.jpg: https://commons.wikimedia.org/wiki/File:Drown%3F!_(131380682).jpg \ No newline at end of file +Image public.jpg: https://commons.wikimedia.org/wiki/File:Drown%3F!_(131380682).jpg diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..c561978 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +Flask==1.1.2 +Werkzeug==1.0.1