- Flask (
easy_install flask
) - markdown (
easy_install markdown
) - mongoDB (
easy_install pymongo
) - requests (
easy_install requests
) - Python 2
- A reCAPTCHA account
- Create posts in markdown
- gist support in posts (see
blah/extensions.py
)
- Clone the git repository if you haven't already
git clone git://github.com/brennie/blah.git -O blog
This will clone it into blog/ - Install and set up
mongoDB
andFlask
- Run
setup.py
and follow the instructions
To update blah to the latest version, just enter the top directory and run:
git pull
To run the development server, run app.py
in the main directory. It creates a
server on localhost:5000 to test the app. The development server will serve
static files and has debug mode enabled.
Run uwsgi blah.ini
to start the development server (you may want to configure
this to suit your needs first). Check out the nginx.conf in contrib/ for a
sample nginx configuration.