This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/Dignifiedquire/8ba1f2f3e782341671c9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: non-zero exit code 127 | |
while running: /Users/dignifiedquire/opensource/ipfs/electron-app/release/darwin-x64/IPFS-darwin-x64/IPFS.app/Contents/Resources/app/node_modules/subcomandante/subcom 47357 /Users/dignifiedquire/opensource/ipfs/electron-app/release/darwin-x64/IPFS-darwin-x64/IPFS.app/Contents/Resources/app/node_modules/go-ipfs/bin/ipfs version | |
env: node: No such file or directory | |
at ChildProcess.<anonymous> (/Users/dignifiedquire/opensource/ipfs/electron-app/release/darwin-x64/IPFS-darwin-x64/IPFS.app/Contents/Resources/app/node_modules/comandante/index.js:19:27) | |
at emitTwo (events.js:92:20) | |
at ChildProcess.emit (events.js:172:7) | |
at maybeClose (internal/child_process.js:817:16) | |
at Socket.<anonymous> (internal/child_process.js:319:11) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> default: ================================================================================ | |
==> default: Error executing action `run` on resource 'execute[./gradlew install --project-cache-dir=/tmp/rpc]' | |
==> default: | |
==> default: ================================================================================ | |
==> default: | |
==> default: Mixlib::ShellOut::ShellCommandFailed | |
==> default: ------------------------------------ | |
==> default: Expected process to exit with [0], but received '1' | |
==> default: ---- Begin output of ./gradlew install --project-cache-dir=/tmp/rpc ---- | |
==> default: STDOUT: :scrooge UP-TO-DATE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1] | |
[1] > [email protected] electron /Users/dignifiedquire/opensource/ipfs/electron-app | |
[1] > electron index.js | |
[1] | |
[0] Development server started at http://localhost:3000 | |
[1] info: Booting | |
[1] info: Application is ready | |
[1] info: Starting tray | |
[1] info: Initialzing new node | |
[0] webpack built 9810ac3365cb7303a3ea in 8727ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"{ | |
"Success": false, | |
"Time": 0, | |
"Text": "PING QmWkMgYviPiHjfCdKkG4mmYotr5zJn3vVpMpYFCaezFQVH." | |
}{ | |
"Success": true, | |
"Time": 1341453, | |
"Text": "" | |
}{ | |
"Success": false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.add | |
[ | |
{ | |
"Name": "add.js", | |
"Hash": "QmaeuuKLHzirbVoTjb3659fyyV381amjaGrU2pecHEWPrN" | |
}, | |
{ | |
"Name": "cat.js", | |
"Hash": "QmTQhTtDWeaaP9pttDd1CuoVTLQm1w51ABfjgmGUbCUF6i" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone [email protected]:ipfs/node-ipfs-api.git | |
cd node-ipfs-api | |
git checkout solid-tests | |
# Ensure node@4 npm@3 | |
npm install | |
# Update to ipfs master | |
cd node_modules/go-ipfs | |
# Edit install.js so that `var filename = 'ipfs_master'+'_' + goenv.GOOS + '-' + goenv.GOARCH + '.zip'` | |
node install.js | |
cd ../ipfsd-ctl/node_modules/go-ipfs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Eu@@F@,1 | |
j | |
#!tK#!tK2 | |
7c | |
--879a0747-bbc5-4ea8-9ea0-ce86984ada6e | |
Content-Disposition: file; filename="test-folder" | |
Content-Type: multipart/mixed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const c = require('ipfsd-ctl') | |
let node | |
let ipfs | |
c.local((err, n) => { | |
node = n | |
node.startDaemon((err, i) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ ipfs daemon | |
Initializing daemon... | |
Error: no ipfs repo found in /Users/dignifiedquire/.ipfs. | |
please run: ipfs init | |
~/opensource/ipfs/js-ipfsd-ctl master* | |
❯ ipfs init | |
initializing ipfs node at /Users/dignifiedquire/.ipfs | |
generating 2048-bit RSA keypair...done | |
peer identity: QmQMG6CjXVuxqUDMSQwVeGai8tTdFjKp6YHFtTzjGsr56m |