Battery is a blog engine written in python. Note that this project is WIP.
- post entry
- delete entry
- post comment
- delete comment
- preview
- TeX extension
- security features
- archive
- upload
- save as draft
- category
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.
$ export FLASK_ENV=testing
$ python -m pytest
This software is released under the MIT License, see LICENSE.