Skip to content

hakobe/hakoblog-python

Repository files navigation

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

About

A little simple blog for my python practice.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published