22 lines
1.1 KiB
Markdown
22 lines
1.1 KiB
Markdown
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](http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world).
|
|
|
|
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](http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-iv-database) 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.
|
|
|