25 Commits

Author SHA1 Message Date
emizzle
bb4fdbe369 Run ipfs init for the case when user has installed ipfs, but not initialised it.
Runs `ipfs daemon` first, reads stdout for message regarding ipfs not initialised, then runs `ipfs init`, then re-runs `ipfs daemon`.
2018-06-18 22:34:42 +10:00
Jonathan Rainville
eecd719515 put message if swarm or ipfs is not installed 2018-06-08 10:40:01 -04:00
Eric Mastro
c45fdb12df Improve storage logging (during --loglevel trace)
Includes IPFS command run 
Includes response from IPFS/Swarm service checks
Includes url being checked during IPFS/Swarm service checks.
2018-06-05 11:39:28 +10:00
Eric Mastro
421f9a4096 Merge in remote 2018-06-01 14:10:54 +10:00
emizzle
a11047c681 Further fixes for starting dappConnection processes automatically
moved storage process launching to storage module

refactored all cases of storage url building to util methods

updated cors so that a processes will not include itself in cors list

changed child process command console output to trace, so it's visible when --logLevel == trace
2018-06-01 13:36:46 +10:00
emizzle
927f562a41 Fixed issue with CORS domains for auto-started geth, swarm, and ipfs processes.
Fixes after rebase:
* De-duped i18n en.json
* Re-built package-lock.json

Current WIP is auto-starting storage processes defined in dappConnection config.
2018-06-01 13:35:25 +10:00
emizzle
0aa96aa504 Fixed issue with CORS domains for auto-started geth, swarm, and ipfs processes.
Fixes after rebase:
* De-duped i18n en.json
* Re-built package-lock.json

Current WIP is auto-starting storage processes defined in dappConnection config.
2018-05-31 20:18:25 +10:00
Jonathan Rainville
e35474f726 early return 2018-05-30 13:23:18 -04:00
Jonathan Rainville
4db2d40ef5 fix swarm 2018-05-30 12:58:32 -04:00
Jonathan Rainville
138aaf39ff fix processes on ubuntu 2018-05-30 11:03:33 -04:00
Jonathan Rainville
2f3a94f3a1 little fixes 2018-05-30 11:03:33 -04:00
Jonathan Rainville
4df669ab52 add more error management to ipfs 2018-05-30 11:03:33 -04:00
Jonathan Rainville
d06a7f43ac fix swarm spawn 2018-05-30 11:03:33 -04:00
Jonathan Rainville
c86c50fb4e boot swarm with spawn 2018-05-30 11:03:33 -04:00
Jonathan Rainville
8655b49a39 change ipfs to spawn too 2018-05-30 11:03:33 -04:00
Jonathan Rainville
b0a64cc043 use right version 2018-05-30 10:57:25 -04:00
Jonathan Rainville
e02648dbef add error if user uses ipfs 0.4.14 or lower 2018-05-30 10:57:25 -04:00
Jonathan Rainville
3c7bdbf6cf set cors domain depending on the webserverConfig 2018-05-30 10:57:25 -04:00
Jonathan Rainville
857c7d8c85 small fixes 2018-05-30 10:57:25 -04:00
Jonathan Rainville
2b54dfd7cc conflict in en.json 2018-05-30 10:57:25 -04:00
Jonathan Rainville
0f07a00791 detect swarm started signal 2018-05-30 10:57:25 -04:00
Jonathan Rainville
e67fafdc29 conflict in en.json 2018-05-30 10:57:25 -04:00
Jonathan Rainville
bc853ef899 conflict in en.json 2018-05-30 10:57:25 -04:00
Jonathan Rainville
70d3e6a46f conflict en.json 2018-05-30 10:57:25 -04:00
Jonathan Rainville
e3a93a6d61 add storageProcessesLauncher that can work for swarm or ipfs 2018-05-30 10:57:25 -04:00