From 0837fec5b4f72bff164f9ec0d6e143e9bce43cca Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Tue, 12 May 2015 13:26:56 -0400 Subject: [PATCH] Updated installation directions Addresses HospitalRun/frontend#101 --- README.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 597a0066fb..e9b3dfc09e 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,8 @@ To run the app, you will need the following: 4. Install/configure [couchdb](http://couchdb.apache.org/) 1. Download and install couchdb from http://couchdb.apache.org/#download 2. Run `initcouch.sh` to setup couchdb with an admin user with the credentials `hradmin/test`. - 3. -OR- do the following - * Go to Futon (`http://0.0.0.0:5984/_utils/`) - * Look for the "Welcome to Admin Party!" text down in the bottom right and click on "Fix this" - * Create an admin user via the prompt that is displayed - * Click on Create Database in the upper left corner - * Create a database named `main` - * Again click on Create Database in the upper left corner - * Create a database named `config` -5. Start the server so you can view the repo in your browser by running `ember serve` from the `frontend` directory. -6. Go to `http://0.0.0.0:4200/` in a browser and login with your couchdb admin user. + * 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). +5. Copy the server/config-example.js to server/config.js. +6. Start the server so you can view the repo in your browser by running `ember serve` from the `frontend` directory. +7. Go to `http://0.0.0.0:4200/` in a browser and login with username `hradmin` and password `test`. \ No newline at end of file