https://github.com/d2verb/battery
A simple blog engine
https://github.com/d2verb/battery
blog-engine flask python
Last synced: 9 months ago
JSON representation
A simple blog engine
- Host: GitHub
- URL: https://github.com/d2verb/battery
- Owner: d2verb
- License: mit
- Created: 2018-07-16T10:59:01.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-31T16:15:46.000Z (over 1 year ago)
- Last Synced: 2024-10-31T17:21:57.203Z (over 1 year ago)
- Topics: blog-engine, flask, python
- Language: Python
- Size: 444 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://circleci.com/gh/d2verb/battery)
Battery is a blog engine written in python. Note that this project is WIP.
## Features
- [x] post entry
- [x] delete entry
- [x] post comment
- [x] delete comment
- [x] preview
- [x] TeX extension
- [ ] security features
- [x] archive
- [x] upload
- [x] save as draft
- [ ] category
## How to run
You can run battery easily in your local machine. If you want to run battery on your server with apache, please see doc/INSTALL.md
```
$ pip install -r requirements
$ export FLASK_APP=./battery
# development mode
$ export FLASK_ENV=development
$ flask run
# production mode
$ export FLASK_ENV=development
$ flask run
```
You can override the default configuration by createing instance/config.py. Battery will automatically load it if it exists.
## How to run tests
```
$ export FLASK_ENV=testing
$ python -m pytest
```
## ScreenShots
[Top Page](img/toppage.png)
[Blog Entry Page](img/entrypage.png)
[Upload Page](img/uploadpage.png)
## LICENSE
This software is released under the MIT License, see LICENSE.