A little simple blog for my python practice.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
db
hakoblog
tests
.gitignore
.travis.yml
LICENSE
Makefile
README.md
requirements.txt

README.md

hakoblog

Build Status

A little simple blog for my python practice.

Synopsis

# setup
$ pip install -r requirements.txt
$ make setupdb

# test
$ pytest tests

# run
$ FLASK_APP=hakoblog/web.py flask run

Usage

See hakoblog/web.py please ☺️

Structure

  • hakoblog/web.py Flask app (entry point)
  • hakoblog/config.py Configuration object
  • hakoblog/db.py Database instance wrapper
  • hakoblog/model/*.py Plain model objects (not related to db directly)
  • hakoblog/loader/*.py Loder services which fetch model objects from database (aka. repository)
  • hakoblog/actoin/*.py Action services which affect model objects in database.

Lisense

MIT

Author

hakobe