Tracks resource flows in the health sector from their sources to the ultimate health function they serve.
Ruby JavaScript
Pull request Compare This branch is 36 commits behind siyelo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.rbenv
app
config
db
doc
features
lib
public
script
spec
tmp
vendor/assets
.gitignore
.rails_footnotes
.rbenv-version
.rspec
.rvmrc
AUTHORS
Gemfile
Gemfile.lock
Guardfile
LICENSE
README.md
Rakefile
VERSION
Vagrantfile
config.ru

README.md

Health Resource Tracker

This app tracks resource flows in the health sector from their many sources to the ultimate health function they serve. Information about health spending, both planned and realized, are essential for evidence-based budgeting, planning and policy-making.

Getting Started

Git config

# .git/config

[remote "origin"]
  fetch = +refs/heads/*:refs/remotes/origin/*
  url = git@github.com:siyelo/hrt.git

[remote "staging"]
  url = git@heroku.com:hrtstaging.git
  fetch = +refs/heads/*:refs/remotes/staging/*

[remote "production"]
  url = git@heroku.com:hrtprod.git
  fetch = +refs/heads/*:refs/remotes/production/*

rbenv/RVM

Preferably use rbenv.

We are no longer supporting RVM.

Database:

cp config/database.yml.sample config/database.yml

Edit config/database.yml per your environment. This file is not tracked by git.

rake db:setup

rake db:populate [optional]

Feature Dev

Tests/TDD - before every commit, and after every fetch, is your friend.

$ rake test

Develop on a local feature branch, make a pull request via GitHub.

License

HRT - Health Resource Tracker Copyright (C) 2011 Abt Associates Inc.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Legacy Code

For pre v2.0 code, see https://github.com/siyelo/hrtv1