Skip to content

Commit

Permalink
Few more changes in README
Browse files Browse the repository at this point in the history
  • Loading branch information
drogus committed Jan 10, 2013
1 parent 58a7b77 commit 908c7e7
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Expand Up @@ -2,26 +2,26 @@

### Running the app

This is a static html/js app so you shouldn't need to install anything.
In order to run the app you need to install dependencies with:

git clone git://github.com/travis-ci/travis-web.git
cd travis-web
open public/index.html
bundle install

Running against existing API endpoint:
Then you have to run the server, the easiest way to do this is to
use foreman:

API_ENDPOINT="https://api.travis-ci.org/" RUN_API=0 bundle exec rackup
bundle exec foreman start

Run locally, one on `ci.dev` and one on `api.dev`:
Now you can open [localhost:5000](http://localhost:5000)

. dev.env
bundle exec rackup
By default it uses official API at `https://api.travis-ci.org`, but you
can set your own enpoint using:


API_ENDPOINT="http://localhost:300/" bundle exec foreman start

This will run against API run locally.

### Compiling assets manually

bundle exec rakep
ENV=production bundle exec rakep

### Compiling assets on change

bundle exec guard

0 comments on commit 908c7e7

Please sign in to comment.