KarmaTracker is a time tracking and reporting tool for teams and individuals who use Pivotal Tracker
Ruby CSS CoffeeScript
Pull request Compare This branch is 775 commits ahead of hubertlepicki:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
spec
vendor
.gitignore
.rspec
.ruby-gemset
.ruby-version
.travis.yml
Capfile
Gemfile
Gemfile.lock
README.md
Rakefile
Vagrantfile
config.ru

README.md

KarmaTracker

Build Status

KarmaTracker is a time tracking and reporting tool for teams and individuals who use Pivotal Tracker

Requirements

  • JRuby - version 1.7.9
  • PostgreSQL - version >= 9.2
  • ElasticSearch - version 0.90.5
  • PhantomJS - version >= 1.9 (for running tests only)

Setup

Clone KarmaTracker repository:

git clone https://github.com/amberbit/KarmaTracker.git

In KarmaTracker directory run Bundler:

cd KarmaTracker/
bundle install

If you face a problem with too low memory on bundle install use command with following jruby flags:

jruby -J-Xms2048m -J-Xmx2048m -w -S bundle install

Poltergeist gem requires PhantomJS to run tests. To install PhantomJS follow instructions in poltergeist readme.

Create database configuration file /config/database.yml using template from /config/database.template.yml. Fill in username and password of your PostgreSQL user.

Note: Postgres 9.2 might need to use port 5432.

Note: You might need to edit pg_hba config file to allow connections via TCP/IP.

Populate database for development and test.

rake db:schema:load
rake db:test:prepare

Note: Do not populate database with rake db:migrate.

To run project on Torquebox server first we must deploy it:

torquebox deploy .
torquebox run

To get the latest model diagram (located at /doc): bundle exec rake erd filename='karmatracker_model_diagram' title='KarmaTracket model diagram' polymorphism=true inheritance=true

License

Copyright (2013) AmberBit sp. z o. o.

KarmaTracker is licensed under the MIT License.