An open API service indexing awesome lists of open source software.

https://github.com/landakram/microblog

A sample Flask application based on the official Flask tutorial.
https://github.com/landakram/microblog

Last synced: about 1 month ago
JSON representation

A sample Flask application based on the official Flask tutorial.

Awesome Lists containing this project

README

        

# Microblog!

This is a simple tutorial based on the official [Flask tutorial](http://flask.pocoo.org/docs/tutorial/).
It uses SQLAlchemy instead of raw sqlite and doesn't support any sort of
authentication. It also supports deletion of posts.

## Instructions

1. Read the source.
2. Clone the repo:

$ git clone [email protected]:landakram/microblog.git

3. Install the dependencies:

$ cd microblog
$ easy_install pip # if you don't already have it
$ pip install -r requirements.txt # we should use virtualenv, but that's out of scope for this tutorial

4. Build the schema:

$ python
>>> from app import db
>>> db.create_all()

5. Run:

$ python app.py