From 908c7e7b8f9a6e08cb018c56d04d86ef884b6687 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 10 Jan 2013 03:28:26 +0100 Subject: [PATCH] Few more changes in README --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 82e30d5b5d..f1e0223777 100644 --- a/README.md +++ b/README.md @@ -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