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

Beef dat README [WIP - not ready to merge yet] #3

Merged
merged 3 commits into from
Jun 4, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,19 @@ Ember front end for HospitalRun

To run the app, you will need the following:

1. Ember-cli npm install -g ember-cli.
2. Run npm-install in frontend dir to install needed node modules.
3. Install/configure couchdb http://couchdb.apache.org/#download
1. Make the following changes to your couchdb local.ini
* in the [httpd] section: enable_cors = true
1. Install [ember-cli](https://www.npmjs.org/package/ember-cli): `npm install -g ember-cli`
2. Go to `frontend` directory, and run `npm-install` to install needed node modules.
3. Install/configure [couchdb](http://couchdb.apache.org/)
1. Download and install couchdb from http://couchdb.apache.org/#download
2. Open `local.ini`, and make the following changes:
* in the [httpd] section: enable_cors = true
* add the following section:
```
[cors]
origins = *
credentials = true
methods = GET, PUT, POST, HEAD, DELETE
```
2. Go to Futon (http://0.0.0.0:5984/_utils/) and create an Admin user
4. In the frontend root directory, run ember server
5. Go to http://0.0.0.0:4200/ in a browser and login with your couchdb admin user


2. Go to Futon (`http://0.0.0.0:5984/_utils/`) and create an Admin user.
4. Start the server so you can view the repo in your browser by running `ember server` from the `frontend` directory.
5. Go to `http://0.0.0.0:4200/` in a browser and login with your couchdb admin user.