Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 1b39182

Browse files
committed
updated examples section
1 parent 4e5747f commit 1b39182

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,30 @@ Please let us know either at [Gitter.im](https://gitter.im/zetachang/react.rb) o
7575

7676
## Developing
7777

78-
To run the above examples project yourself:
78+
1. fork and `git clone` the project
7979

80-
1. `git clone` the project
81-
2. `cd example/tutorial`
80+
To play with some live examples cd to the project directory then
81+
82+
2. `cd example/examples`
8283
2. `bundle install`
8384
3. `bundle exec rackup`
84-
4. Open `http://localhost`
85+
4. Open `http://localhos:9292t`
86+
87+
or
88+
89+
1. 'cd example/rails-tutorial`
90+
2. `bundle install`
91+
3. `bundle exec rails s`
92+
4. Open `http://localhost:3000`
93+
94+
or
95+
96+
1. 'cd example/sinatra-tutorial`
97+
2. `bundle install`
98+
3. `bundle exec rackup`
99+
4. Open `http://localhost:9292`
100+
101+
Note that these are very simple examples, for the purpose of showing how to configure the gem in various server environments. For more complete examples and information see [reactrb.org.](http://reactrb.org)
85102

86103
## Testing
87104

0 commit comments

Comments
 (0)