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.
- Host: GitHub
- URL: https://github.com/landakram/microblog
- Owner: landakram
- Created: 2012-10-31T17:24:49.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-01T04:55:17.000Z (over 12 years ago)
- Last Synced: 2025-01-19T06:30:16.346Z (3 months ago)
- Language: Python
- Size: 106 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.git3. 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 tutorial4. Build the schema:
$ python
>>> from app import db
>>> db.create_all()5. Run:
$ python app.py