1 Commits

Author SHA1 Message Date
256c1c0342 remove unnecessary (invalid) local usage steps
The endpoint mentioned doesn't exist, and the DB seems to initialize just fine -- maybe on demand -- when you log in with the credentials specified.
2021-11-26 14:20:30 +01:00
2 changed files with 6 additions and 5 deletions

View File

@@ -107,11 +107,9 @@ 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/initdb
1. Login using id:USERNAME='admin', PASSWORD='default'.
1. Comment the line 52-55 in flash_cards.py
1. Open localhost:5000/
1. Login using 'admin' and 'default' for the username and password, respectively.
**NOTE:** If you wish to use John's flash cards then also do following steps:

View File

@@ -1,4 +1,5 @@
boto==2.40.0
chardet==2.3.0
click==6.7
configparser==3.5.0
cryptography==3.3.2
@@ -6,6 +7,7 @@ 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
@@ -22,5 +24,6 @@ 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.5
Werkzeug==0.15.3