Project

seisan

0.0
No release in over 3 years
Low commit activity in last 3 years
seisan solution for small team
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

~> 3.0.0.pre
~> 0.0.3
 Project Readme

Seisan

Seisan solution for small team.

Installation

You need a few steps to setup seisan data repository. example directory in enishitech/seisan will be a good reference for you.

Put Gemfile:

source 'https://rubygems.org'

gem 'rake'
gem 'seisan'

Run bundler:

% bundle

Put Rakefile:

require 'seisan/task'

Create data directory to store data.

% mkdir data

OK, now everything is set up. Run

% bundle exec rake seisan TARGET=2013/07

Then you will have an empty monthly report (because you have no record in seisan data) at output/2013-07.xlsx.

You may want to add output directory to .gitignore:

% cat .gitignore
/output

Usage

Given you record seisan data in the following format:

applicant: 佐藤
expense:
  - date: 2013-6-24
    amount: 105
    remarks: 電池代

  - date: 2013-7-4
    amount: 2080
    remarks: JR代

And you file seisan data as git repository like this:

% tree
data
└── 2013
    ├── ...
    ├── 07
    │   ├── 20130709-shidara.yaml
    │   ├── 20130711-sato.yaml
    │   ├── 20130712-sato.yaml
    │   ├── 20130717-shidara.yaml
    │   └── 20130719-shimada.yaml
    └── 08
        ├── 20130802-sato.yaml
        ├── 20130802-sekiya.yaml
        ├── 20130803-shidara.yaml
        └── 08-shidara.yaml

Put Rakefile to your seisan data repository,

Then you can generate seisan report.

% bundle exec rake seisan TARGET=2013/07

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

© 2013 Enishi Tech Inc.

Bitdeli Badge