Skip to content

Commit 0119bfa

Browse files
committed
added old screenshot and updated readme.
1 parent 093b256 commit 0119bfa

File tree

2 files changed

+8
-31
lines changed

2 files changed

+8
-31
lines changed

README.md

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ TodoMVC application using [OrbitDB](https://github.com/orbitdb/orbit-db) as a da
1111
**[LIVE DEMO](https://ipfs.io/ipfs/QmTJGHccriUtq3qf3bvAQUcDUHnBbHNJG2x2FYwYUecN43/)**
1212

1313
<p align="centers">
14-
14+
<img src="https://raw.githubusercontent.com/haadcode/example-orbitdb-todomvc/master/screenshots/Screen%20Shot%202017-11-29%20at%2017.09.31.png" width="50%">
1515
</p>
1616

1717
## Install
@@ -35,39 +35,16 @@ Open your browser at http://localhost:3000
3535

3636
In the project directory, you can run:
3737

38-
### `npm start`
38+
- ### `npm start`
3939

40-
Runs the app in the development mode.<br>
41-
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
40+
- ### `npm test`
4241

43-
The page will reload if you make edits.<br>
44-
You will also see any lint errors in the console.
42+
- ### `npm run build`
4543

46-
### `npm test`
47-
48-
Launches the test runner in the interactive watch mode.<br>
49-
See the section about [running tests](#running-tests) for more information.
50-
51-
### `npm run build`
52-
53-
Builds the app for production to the `build` folder.<br>
54-
It correctly bundles React in production mode and optimizes the build for the best performance.
55-
56-
The build is minified and the filenames include the hashes.<br>
57-
Your app is ready to be deployed!
58-
59-
See the section about [deployment](#deployment) for more information.
60-
61-
### `npm run eject`
44+
- ### `npm run eject`
6245

6346
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
6447

65-
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
66-
67-
Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
68-
69-
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
70-
7148
## Collaborative editing by multiple users
7249

7350
To collaborate on a TODO list, open the same url in _another browser or incognito window_. You should see the TODO lists sync automatically.
@@ -76,9 +53,9 @@ To collaborate on a TODO list, open the same url in _another browser or incognit
7653

7754
This example is based on [React TodoMVC](https://github.com/tastejs/todomvc/tree/master/examples/react).
7855

79-
- Initializing OrbitDB and IPFS happens in [store](https://github.com/haadcode/example-orbitdb-todomvc/blob/master/src/store.js)
80-
- OrbitDB calls happen in [model](https://github.com/haadcode/example-orbitdb-todomvc/blob/master/src/todoModel.js)
81-
- The database and app are hooked together in [app](https://github.com/haadcode/example-orbitdb-todomvc/blob/master/src/app.jsx#L188)
56+
- Initializing OrbitDB and IPFS happens in [store](https://github.com/haadcode/example-orbitdb-todomvc/blob/master/src/utils/store.js)
57+
- OrbitDB calls happen in [model](https://github.com/haadcode/example-orbitdb-todomvc/blob/master/src/utils/todoModel.js)
58+
- The database and app are hooked together in [app](https://github.com/haadcode/example-orbitdb-todomvc/blob/master/src/index.js#L23)
8259

8360
## Contribute
8461

Loading

0 commit comments

Comments
 (0)