department-of-veterans-affairs/SCIInterim

Name: SCIInterim

Owner: Department of Veterans Affairs

Description: null

Created: 2015-04-24 22:02:51.0

Updated: 2016-02-02 05:15:25.0

Pushed: 2016-08-03 00:57:59.0

Homepage: null

Size: 3945

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Stories in Ready

SCI Interim

Data entry and records application for Spinal Care Injuries at Veterans Affairs

Build Status Coverage Status

How to get started hacking

There are 3 steps:

  1. Setting up postgres
  2. Setting up rails
  3. [options] Add some fake data.
postgres Setup

Install the postgres binary somehow. For Mac, use Homebrew and run brew install postgres. For Linux, use your package manager. You're on your own for windows.

If this is the inital setup of postgres, you must create the database files, create the initial user, etc. Executing

 pg:first_run

will do all of the above including seeding the database. Notice the pg is not db.

If this is not the first run, then you may need to start/stop the database process by doing some combination of

 pg:start
 pg:stop

This rake script runs a postgres instance under your current user. If you have a system postgres daemon, parts of this might not work.

Rails Setup
Rails Setup

If you want to create fake data, there is a rake task. Run

 app:seed_fake
Useful Links

Install PostgreSQL: https://www.codefellows.org/blog/three-battle-tested-ways-to-install-postgresql Install Ruby On Rails on Mac: http://railsapps.github.io/installrubyonrails-mac.html

Issues

We are currently using labels and milestones from tracking requirements and bugs during sprint cycles. Label are for priority; milestone for sprint cycle


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.