Commandline:
mkdir EasyOrderBLMain
cd EasyOrderBLMain
virtualenv .
. bin/activate
pip3 install flask-appbuilder flask_mail
git clone https://github.com/AchimMenzel/EasyOrderBL.git
cd EasyOrderBL
cp config.py.initial config.py
fabmanager create-admin
Interactive:
Username [admin]: admin
User first name [admin]: Test
User last name [admin]: Admin
Email [[email protected]]: [email protected]
Password: password
Repeat for confirmation: password
Commandline:
sqlite3 app.db < app/scratch/SqlInsert.sql
app.run(host='127.0.0.1', port=8080, debug=True)
#Email provider details
MAIL_SERVER = 'smtp.web.de'
MAIL_PORT = 587
#Email credentials
MAIL_USERNAME = '[email protected]'
MAIL_PASSWORD = 'blabla'
MAIL_USE_TLS = True
Commandline:
fabmanager run
Browser (depending on run.py):
127.0.0.1:8080
or:
localhost:8080