Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hakobe/hakoblog-python
A little simple blog for my python practice.
https://github.com/hakobe/hakoblog-python
python
Last synced: 8 days ago
JSON representation
A little simple blog for my python practice.
- Host: GitHub
- URL: https://github.com/hakobe/hakoblog-python
- Owner: hakobe
- License: mit
- Created: 2017-01-10T00:14:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-06T19:32:19.000Z (over 2 years ago)
- Last Synced: 2024-04-15T02:42:49.001Z (7 months ago)
- Topics: python
- Language: Python
- Homepage:
- Size: 75.2 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hakoblog
[![Build Status](https://travis-ci.org/hakobe/hakoblog-python.svg?branch=master)](https://travis-ci.org/hakobe/hakoblog-python)A little simple blog for my python practice.
# Synopsis
```sh
# 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 :relaxed:# 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](./LICENSE)## Author
[hakobe](http://github.com/hakobe)