https://github.com/hakobe/hakoblog-python
A little simple blog for my python practice.
https://github.com/hakobe/hakoblog-python
python
Last synced: 1 day 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-06T19:32:19.000Z (about 3 years ago)
- Last Synced: 2025-03-24T05:35:07.794Z (3 months ago)
- Topics: python
- Language: Python
- Homepage:
- Size: 75.2 KB
- Stars: 10
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hakoblog
[](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)