department-of-veterans-affairs/service-and-facility-locator

Name: service-and-facility-locator

Owner: Department of Veterans Affairs

Description: Repository containing next gen Facilities Locator artifacts and application

Created: 2016-01-15 13:47:57.0

Updated: 2016-03-02 19:21:17.0

Pushed: 2016-04-21 18:13:38.0

Homepage: null

Size: 21471

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Service And Facility Locator

This build monitor should be up and running as soon as you set up travis! Build Status

Setup for your local environment
Ruby Setup

you'll need Ruby installed, and either rvm or rbenv to manage your Ruby versions. If you don't, follow the directions below:

Install rbenv, which is a tool that helps install/manage versions of Ruby (Note: make sure and follow the brew's post-install instructions):

ew install rbenv

And follow the initialization instructions for rbenv, provided by brew

env init

Using rbenv install ruby:

env install 2.3.0
Postgres Setup

Ensure you have Postgres installed and running

Service and Facility Locator Setup

Clone the repository:

clone https://github.com/department-of-veterans-affairs/service-and-facility-locator.git

Change directory to service-and-facility-locator:

ervice-and-facility-locator

Install gems and dependencies:

le install

Create database and load schema:

le exec rake db:create 
le exec rake db:schema:load

Load Data

le exec rake import_data

Start the application!

le exec puma -p 3000

Access the application at localhost:3000/service-and-facility-locator

Test Prerequisites

You'll need to have phantomjs installed to run the feature specs. If you have homebrew, it's as easy as:

ew install phantomjs

If not, follow installation instructions on their website.

Tests

Note: TravisCI will not pass if code coverage is below 90%


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.