Skip to content

Include global Ember CLI install in setup docs #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 3, 2014
Merged
Show file tree
Hide file tree
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
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,22 @@ Source code for the default registry for Cargo users. Can be found online at

This website is built using [Ember.js](http://emberjs.com/) for the frontend,
which enables tweaking the UI of the site without actually having the server
running locally. To get up and running, just run:
running locally. To get up and running with just the UI, run:

```
ember server --proxy https://staging-crates-io.herokuapp.com
npm run startui
```

This will give you a local server to browse while using the staging backend
(hosten on heroku). You can also specify the proxy as `https://crates.io/`, but
beware that any modifications made are permanent!
(hosted on heroku at https://staging-crates-io.herokuapp.com).

If you'd like to run the server with a specific different backend, you can specify specific arguments to `npm start`. For example you can set the proxy to `https://crates.io/` to use the live instance, but do be aware that any modifications made here will be permanent! To do this, run:

```
npm start -- --proxy https://example.com
```

This requires NPM 2.0.

## Working on the backend

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"scripts": {
"start": "ember server",
"startui": "ember server --proxy https://staging-crates-io.herokuapp.com",
"build": "ember build",
"test": "ember test"
},
Expand Down