Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

d2verb/battery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 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.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •