/microblog

A microblogging web application written in Python and Flask that I developed as part of my Flask Mega-Tutorial series.

Primary LanguagePythonOtherNOASSERTION

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.