Add requirements (#7)
This commit is contained in:
committed by
GitHub
parent
b5b308380c
commit
cad9045fff
@@ -23,9 +23,11 @@ For more basic knowledge of Flask, you can refer to [a tutorial on Tutorialspoin
|
|||||||
|
|
||||||
## How to Run
|
## 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
|
## Credict
|
||||||
Image private.jpg: https://commons.wikimedia.org/wiki/File:(315-365)_Locked_(6149414678).jpg
|
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
|
Image public.jpg: https://commons.wikimedia.org/wiki/File:Drown%3F!_(131380682).jpg
|
||||||
|
|||||||
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Flask==1.1.2
|
||||||
|
Werkzeug==1.0.1
|
||||||
Reference in New Issue
Block a user