Permalink
Browse files

fix readme

  • Loading branch information...
1 parent 9b21ab8 commit 7fc0c42bd841cc2e1f633bd15634aa2fd4e699b3 @zhengjia committed Feb 16, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.md
View
@@ -15,11 +15,13 @@ unwatch is built with Sinatra.
development setup
-----------------
1. git clone git://github.com/zhengjia/unwatch.git
-2. Register unwatch at https://github.com/account/applications/. You can name is unwatch-development; The url is a local ip like http://127.0.0.1:9292; callback is http://127.0.0.1:9292/auth/github/callback;
+2. Register unwatch at https://github.com/account/applications/. You can name it unwatch-development; the url is a local ip like http://127.0.0.1:9292; callback is http://127.0.0.1:9292/auth/github/callback;
3. Copy oauth_example.yml to oauth.yml. Add you development client_id and secret obtained from step 2.
4. run test: ruby -Itest test/unwatch.rb
5. rackup
production setup
----------------
-Set the environment variable ENV['RACK_ENV'] to 'production'. Set the oauth credentials ENV['client_id'] and ENV['secret'].
+1. Register unwatch at https://github.com/account/applications/
+2. Set the environment variable ENV['RACK_ENV'] to 'production'.
+3. Set the oauth credentials obtained from step 1 in ENV['client_id'] and ENV['secret'].

0 comments on commit 7fc0c42

Please sign in to comment.