This blog is built using the Flask Python microframework.
$ python db_create.py
Creates the database app.db
and the repository folder structure db_repository
$ pyhton db_migrate.py
Migrates database changes and keeps track in db_repository/versions
$ python db_upgrade.py
This upgrades your database to the current revision
$ python db_downgrade.py
This downgrades your database to the previous version. This is uncommon in most scenarios
Setting up an email server on a development PC that does not have an email server is easy.
Thanks to Python's SMTP debugging server, just open a new console window (command prompt for
Windows users) and run the following to start a fake email server: python -m smtpd -n -c DebuggingServer localhost:25