Skip to content

xoyowade/aa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AA accounting system

AA is a Chinese term for "Going Dutch", which means persons participating a common activity pay for themselves.
AA accounting system comes out to help a constant group of people to record their regular activities (f.g. having lunch with colleagues in work day) and split the bills automatically. After each activity, AA would record the bill, update account for every person involved, and send a mail to inform every one of the latest updates.

Prerequisites

  • Python 2.4 or later

  • "web.py", a web framework

  • "KirbyBase", a plain-text database

  • "PyYAML", used to process yaml configuration file

Initialize Database

  1. Create a name list file, which consists of each user's id and name ( Separated with TAB, one record one line, as in sample_name_list ).

  2. Initialize database with the name list, which would clear all the old data in database and activity log.

python main.py -g -l <path-to-name-list-file>

Run Server

  1. Create your own configuration based on aa.yml.

  2. Run server by

python main.py
  1. See all available options by
python main.py -h

About

AA accounting system for lunch/dinner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages