git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 6cc8cd15764104d1cbb616e1ab246bbde516d6a9

Setup with local testnet

Josiah Witt committed on 2/25/2018, 1:49:37 AM
Parent: 011ddc7e8f1977900832da37876ff81783bc7b9f

Files changed

index.jschanged
index.jsView
@@ -41,9 +41,9 @@
4141
4242 quitIfAlreadyRunning()
4343
4444 electron.app.on('ready', () => {
45- setupContext('ssb', {
45 + setupContext('ssb-test', {
4646 server: !(process.argv.includes('-g') || process.argv.includes('--use-global-ssb'))
4747 }, () => {
4848 var menu = defaultMenu(electron.app, electron.shell)
4949 var view = menu.find(x => x.label === 'View')
@@ -129,10 +129,10 @@
129129 }
130130 }
131131
132132 function setupContext (appName, opts, cb) {
133- ssbConfig = require('ssb-config/inject')(appName, extend({
134- port: 8008,
133 + ssbConfig = require('../ssb-config/inject')(appName, extend({
134 + port: 8007,
135135 blobsPort: 7777,
136136 friends: {
137137 dunbar: 150,
138138 hops: 2 // down from 3

Built with git-ssb-web