1 Commits

2 changed files with 5 additions and 6 deletions

View File

@@ -107,9 +107,11 @@ Thanks [@JackKuo-tw](https://github.com/JackKuo-tw)
1. Run `python get-pip.py` in terminal
1. Add pip to your PATH system variable [windows](https://stackoverflow.com/questions/23708898/pip-is-not-recognized-as-an-internal-or-external-command)
1. Run `pip install -r requirements.txt` in terminal after going to correct folder
1. Open flash_cards.py and uncomment the line 52-55 beginning from `@app.route('/initdb')`
1. Type `python flash_cards.py` - if you get error for flask then use `python -m pip install Flask` first then run `flash_card.py` file
1. Open localhost:5000/
1. Login using 'admin' and 'default' for the username and password, respectively.
1. Open localhost:5000/initdb
1. Login using id:USERNAME='admin', PASSWORD='default'.
1. Comment the line 52-55 in flash_cards.py
**NOTE:** If you wish to use John's flash cards then also do following steps:

View File

@@ -1,5 +1,4 @@
boto==2.40.0
chardet==2.3.0
click==6.7
configparser==3.5.0
cryptography==3.3.2
@@ -7,7 +6,6 @@ enum34==1.1.6
Flask==1.0
future==0.15.2
httplib2==0.19.0
idna==2.1
ipaddress==1.0.16
itsdangerous==0.24
Jinja2==2.11.3
@@ -24,6 +22,5 @@ pyxdg==0.26
requests==2.20.0
scour==0.32
six==1.10.0
urllib3==1.26.5
virtualenv==15.1.0
Werkzeug==0.15.3
Werkzeug==0.15.5