Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 3313cf3

Browse files
committed
Move to examples/access-go-ipfs-files/file-exchange. Update instructions/todos.
1 parent b0a7cd8 commit 3313cf3

28 files changed

+9
-20
lines changed

examples/ipfm/README.md renamed to examples/access-go-ipfs-files/file-exchange/README.md

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ InterPlanetary File Exchange enables you to share files with others via IPFS.
66

77
IPFE was built to demonstrate interoperability between the go-ipfs and js-ipfs (browser and Node.js) instances.
88

9+
## TODO
10+
11+
- Need to merge https://github.com/ipfs/browserify-zlib-next/pull/23 and use the updated module. Otherwise the UI will error on zlib._transform.
12+
- Make sure go-ipfs and the UI connect to each other (last time I checked they didn't)
13+
- Use new signal server address everywhere (src/App.js, ipfe-daemon.js, ipfe-add.js)
14+
- ipfe-add currently uses js-ipf(node.js) daemon. But in order to add files from go-ipfs daemon, it would need to use js-ipfd-ctl. A quick way would be to use ipfs-daemon (I would *highly* recommend to do so), otherwise need to add the init dance for js-ipfsd-ctl much like `src/ipfs.js`.
15+
916
## Requirements
1017

1118
- Node.js >= v4.x
@@ -125,21 +132,3 @@ Note that the multihash at the end of the swarm address will be different.
125132
9. You have successfully added a file in go-ipfs and downloaded it to the browser.
126133

127134
You can also add files to the browser app by dragging and dropping them. Once you do so, you should see the updated file list in the terminal running `ipfe-daemon`.
128-
129-
## Dev & Run
130-
```
131-
npm install
132-
npm start
133-
```
134-
135-
See `package.json` for more dev scripts.
136-
137-
## Tutorial
138-
139-
**TODO**
140-
141-
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).
142-
143-
```
144-
npm install ipfs-daemon orbit-db --save
145-
```

examples/ipfm/src/App.js renamed to examples/access-go-ipfs-files/file-exchange/src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ class App extends Component {
3333
// Directory to which save IPFS data to
3434
IpfsDataDir: '/ipfs/ipfd-2',
3535
// IPFS dev server: webrtc-star-signalling.cloud.ipfs.team
36-
SignalServer: '188.166.203.82:20000',
36+
// SignalServer: '188.166.203.82:20000',
3737
// Localhost webrtc-star server
38-
// SignalServer: '127.0.0.1:9090',
38+
SignalServer: '127.0.0.1:9090',
3939
})
4040

4141
dataStore.on('error', (e) => console.error(e))

0 commit comments

Comments
 (0)