paciowg / Reassessment-Timepoint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Functional Status RI Client

Reference implementation client for the PACIO Functional Status IG.

Configured for Heroku deployment.

Installation

To pull in remote functional-status-ri-client from github for local development:

cd ~/path/to/your/workspace/
git clone https://github.com/paciowg/functional-status-ri-client.git

Running

Since this app is configured for heroku deployment, running it is slightly more effort than just rails s.

  1. To start, you must be running postgres

    pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
    

    (This gets old. Personally, I made a pg_start alias for this command)

  2. Next, run the rails app the way you would any other

    cd ~/path/to/your/app/
    rails s
    
  3. Now you should be able to see it up and running at localhost:3000

  4. When done, gracefully stop your puma server

    Control-C
    
  5. Finally, stop your postgres instance

    pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log stop
    

    (This also gets old. Personally, I made a pg_stop alias for this command)

Copyright 2019 The MITRE Corporation

About


Languages

Language:Ruby 62.1%Language:HTML 16.1%Language:SCSS 9.4%Language:GLSL 7.4%Language:JavaScript 4.6%Language:CoffeeScript 0.4%