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