Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

HospitalRun/hospitalrun-frontend

Repository files navigation

frontend

Ember front end for HospitalRun

To run the app, you will need the following:

  1. Install ember-cli v0.1.4: npm install -g ember-cli@0.1.4
  2. Install bower: npm install -g bower
  3. Go to the frontend directory, and run the following:
    • npm install to install needed node modules.
    • bower install to install needed bower modules.
  4. Install/configure couchdb
  5. Download and install couchdb from http://couchdb.apache.org/#download
  6. Run initcouch.sh to setup couchdb with an admin user with the credentials hradmin/test.
    * If you have just installed couchdb and have not setup a couchdb admin user, then run initcouch.sh. * If you have already created a couchdb admin, then run initcouch.sh user pass with the couch admin credentials (where user is the couchdb admin user and pass is the user's password).
  7. Copy the server/config-example.js to server/config.js.
  8. Start the server so you can view the repo in your browser by running ember serve from the frontend directory.
  9. Go to http://0.0.0.0:4200/ in a browser and login with username hradmin and password test.