Skip to content

This is a webapp based upon Flask Appbuilder to make and send orders

License

Notifications You must be signed in to change notification settings

AchMenz/EasyOrderBL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Universal Order Program "EasyOrderBL" with Flask-Appbuilder

Installation

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

Populate database with example data

Commandline:

sqlite3 app.db < app/scratch/SqlInsert.sql

Adjust host and port in "run.py"

app.run(host='127.0.0.1', port=8080, debug=True)

Adjust data for email in "config.py"

#Email provider details
MAIL_SERVER = 'smtp.web.de'
MAIL_PORT = 587

#Email credentials
MAIL_USERNAME = '[email protected]'
MAIL_PASSWORD = 'blabla'
MAIL_USE_TLS = True

Run

Commandline:

fabmanager run

Navigate to app

Browser (depending on run.py):

127.0.0.1:8080

or:

localhost:8080

About

This is a webapp based upon Flask Appbuilder to make and send orders

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published