Skip to content
This repository has been archived by the owner on Jul 19, 2020. It is now read-only.

vuvoth/ipfs-eth

Repository files navigation

README

Install dependencies

npm install
npm install truffle -g
npm install webpack webpack-cli -g
npm install ganache-cli -g

Install go-ipfs

cd to project folder

tar xvfz go-ipfs_v0.4.21_darwin-amd64.tar.gz
cd go-ipfs
./install.sh
ipfs init
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]'
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'

Build project

npm run build

Run ganache

In terminal 1

ganache-cli -h 0.0.0.0 -p 7777 -d -l 200000000 -g

Run Ipfs

In terminal 2

Run ipfs daemon

ipfs daemon

Run server

In terminal 3

npm run server

Open page at http://localhost:3000/ and execute

Example

Releases

No releases published

Packages

No packages published