Skip to content

d2verb/battery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

Battery is a blog engine written in python. Note that this project is WIP.

Features

  • post entry
  • delete entry
  • post comment
  • delete comment
  • preview
  • TeX extension
  • security features
  • archive
  • upload
  • 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

Blog Entry Page

Upload Page

LICENSE

This software is released under the MIT License, see LICENSE.