Skip to content

Commit a634c29

Browse files
committed
better readme
1 parent 2735272 commit a634c29

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,27 @@
1-
# React comment box example
1+
# React Tutorial
22

33
This is the React comment box example from [the React tutorial](http://facebook.github.io/react/docs/tutorial.html).
44

55
## To use
66

7-
```
7+
There are several simple server implementations included. They all serve static files from `public/` and handle requests to `comments.json` to fetch or add data. Start a server with one of the following:
8+
9+
### Node
10+
11+
```sh
812
npm install
913
node server.js
1014
```
1115

12-
And visit http://localhost:3000/. Try opening multiple tabs!
16+
### Python
17+
18+
```sh
19+
python server.py
20+
```
21+
22+
### Ruby
23+
```sh
24+
ruby server.rb
25+
```
26+
27+
And visit <http://localhost:3000/>. Try opening multiple tabs!

0 commit comments

Comments
 (0)