Monday, November 27, 2017

Reproduce IPFS YJS demo on Ubuntu 16.04

https://www.youtube.com/watch?v=-kdx8rJd8rQ

All source code from here.
git clone https://github.com/ipfs-shipyard/shared-editing-demo


ubuntu 16.04.

DO NOT USE apt install nodejs

wget https://nodejs.org/dist/v8.9.1/node-v8.9.1.tar.gz
tar xf node-v8.9.1.tar.gz
cd node-v8.9.1
./configure
make -j8
sudo make install

mkdir ipfs-yjs-demo
cd ipfs-yjs-demo
npm init
sudo npm install http-server -g
npm install browserify --save
npm install ipfs --save
npm install serve-favicon --save
npm install yjs y-memory y-array y-test --save
npm install y-ipfs-connector --save

mkdir -p public/js
mkdir src

====
On MacOS

curl -O https://nodejs.org/dist/v8.9.1/node-v8.9.1.tar.gz

No comments:

Post a Comment