Add configuration file with values which shouldn't be fixed in application like:
dbhost
dbusername
dbpassword
dbport
dbname
logfilepath
Remember to comment environment configurations, such as development(your local machine), test(thinking in Travis-CI), production(thinking in server machine)
Add configuration file with values which shouldn't be fixed in application like:
Remember to comment environment configurations, such as development(your local machine), test(thinking in Travis-CI), production(thinking in server machine)
Tutorials: http://flask.pocoo.org/docs/0.12/config/ http://exploreflask.com/en/latest/configuration.html