Skip to content

Commit 9ecfd37

Browse files
committed
remove files
1 parent a8c9f89 commit 9ecfd37

File tree

11 files changed

+6
-421
lines changed

11 files changed

+6
-421
lines changed

README.md

Lines changed: 3 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,16 @@
1-
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
21

32
# React Tutorial
43

5-
This is the React comment box example from [the React tutorial](http://facebook.github.io/react/docs/tutorial.html).
4+
This are the examples from [the React tutorial](http://facebook.github.io/react/docs/tutorial.html).
65

76
## To use
87

9-
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:
10-
118
### Node
129

1310
```sh
1411
npm install
1512
node server.js
1613
```
1714

18-
### Python
19-
20-
```sh
21-
pip install -r requirements.txt
22-
python server.py
23-
```
24-
25-
### Haskell
26-
27-
```sh
28-
cabal sandbox init
29-
cabal install --only-dependencies
30-
ghc Server.hs
31-
./Server
32-
```
33-
34-
### Ruby
35-
```sh
36-
ruby server.rb
37-
```
38-
39-
### PHP
40-
```sh
41-
php server.php
42-
```
43-
44-
### Go
45-
```sh
46-
go run server.go
47-
```
48-
49-
### Lua
50-
51-
```sh
52-
go get github.com/xyproto/algernon
53-
# or brew install algernon
54-
algernon server.lua
55-
```
56-
57-
And visit <http://localhost:3000/>. Try opening multiple tabs!
15+
And visit <http://localhost:3000/>.
16+
Try opening multiple tabs! try changing and saving the 'comments.json' while server is running! Check the browser again!

Server.hs

Lines changed: 0 additions & 62 deletions
This file was deleted.

app.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"repository": {
1616
"type": "git",
17-
"url": "https://github.com/reactjs/react-tutorial.git"
17+
"url": "https://github.com/flado/react-tutorial.git"
1818
},
1919
"keywords": [
2020
"react",
@@ -24,9 +24,9 @@
2424
],
2525
"author": "petehunt",
2626
"bugs": {
27-
"url": "https://github.com/reactjs/react-tutorial/issues"
27+
"url": "https://github.com/flado/react-tutorial/issues"
2828
},
29-
"homepage": "https://github.com/reactjs/react-tutorial",
29+
"homepage": "https://github.com/flado/react-tutorial",
3030
"engines" : {
3131
"node" : "0.12.x"
3232
}

react-scotty.cabal

Lines changed: 0 additions & 28 deletions
This file was deleted.

requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

server.go

Lines changed: 0 additions & 108 deletions
This file was deleted.

server.lua

Lines changed: 0 additions & 38 deletions
This file was deleted.

server.php

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)