Go to file
Miguel Grinberg 6b193afe47 update wtforms imports 2013-12-10 21:36:30 -08:00
app update wtforms imports 2013-12-10 21:36:30 -08:00
db_repository ajax translations 2013-02-19 23:00:47 -08:00
tmp hello world 2012-12-16 21:41:25 -08:00
.gitignore babel integration 2013-01-31 23:23:52 -08:00
LICENSE hello world 2012-12-16 21:41:25 -08:00
Procfile heroku hosting 2013-04-23 22:58:57 -07:00
README.md included missed dependencies in README file 2013-06-29 18:29:07 -07:00
babel.cfg babel integration 2013-01-31 23:23:52 -08:00
config.py heroku hosting 2013-04-23 22:58:57 -07:00
db_create.py database 2012-12-16 21:41:47 -08:00
db_downgrade.py database 2012-12-16 21:41:47 -08:00
db_migrate.py database 2012-12-16 21:41:47 -08:00
db_upgrade.py database 2012-12-16 21:41:47 -08:00
killpython Linux hosting 2013-04-14 23:13:17 -07:00
profile.py coverage and profiling 2013-03-09 20:30:57 -08:00
requirements.txt heroku hosting 2013-04-23 22:58:57 -07:00
run.py hello world 2012-12-16 21:41:25 -08:00
runp-heroku.py heroku hosting 2013-04-23 22:58:57 -07:00
runp-mysql.fcgi Linux hosting 2013-04-21 22:08:46 -07:00
runp-sqlite.fcgi Linux hosting 2013-04-14 23:13:17 -07:00
runp.py unit testing framework 2012-12-16 21:41:48 -08:00
setup.py use Flask 0.9 2013-06-29 19:17:41 -07:00
tests.py coverage and profiling 2013-03-09 20:30:57 -08:00
tr_compile.py babel integration 2013-01-31 23:23:52 -08:00
tr_init.py babel integration 2013-01-31 23:23:52 -08:00
tr_update.py fixed typo 2013-02-19 23:00:47 -08:00
virtualenv.py hello world 2012-12-16 21:41:25 -08:00

README.md

microblog

A decently featured microblogging web application written in Python and Flask that I'm developing in my Flask Mega-Tutorial series that begins here.

Installation

The tutorial referenced above explains how to setup a virtual environment with all the required modules. As a convenience, the setup.py script will create this virtual environment for you. You can run this script again to refresh any missing modules. Note that to be able to run this script you have to have the following packages installed:

  • Python 2.7
  • Python development package (python-dev for most Linux distributions)
  • git

The sqlite database must also be created before the application can run, and the db_create.py script takes care of that. See the Database tutorial for the details.

Running

To run the application in the development web server just execute run.py with the Python interpreter from the flask virtual environment.