aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-17 23:39:11 -0700
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-17 23:39:11 -0700
commitcc6080bfb402cf088b8a548821a2d1992b637f45 (patch)
treec99f3dbcf548cc94716956ec98972eac69f15f5d
parent0053042f2b06e3e73421d72ddc8a3e899155893c (diff)
downloadpatchfoo-cc6080bfb402cf088b8a548821a2d1992b637f45.tar.gz
patchfoo-cc6080bfb402cf088b8a548821a2d1992b637f45.zip
Use ssb-party
-rw-r--r--package.json6
-rw-r--r--server.js6
2 files changed, 3 insertions, 9 deletions
diff --git a/package.json b/package.json
index f8b0bac..5589696 100644
--- a/package.json
+++ b/package.json
@@ -21,12 +21,12 @@
"ssb-avatar": "^0.2.0",
"ssb-marked": "^0.7.1",
"ssb-mentions": "^0.2.0",
+ "ssb-party": "^0.3.0",
"ssb-sort": "^1.0.0",
"stream-to-pull-stream": "^1.7.2"
},
- "devDependencies": {
- "ssb-client": "^4.4.0",
- "ssb-config": "^2.2.0"
+ "scripts": {
+ "start": "ssb-party ."
},
"author": "cel",
"homepage": "https://git.scuttlebot.io/%25YAg1hicat%2B2GELjE2QJzDwlAWcx0ML%2B1sXEdsWwvdt8%3D.sha256",
diff --git a/server.js b/server.js
deleted file mode 100644
index b64b14f..0000000
--- a/server.js
+++ /dev/null
@@ -1,6 +0,0 @@
-var createConfig = require('ssb-config/inject')
-var config = createConfig(process.env.ssb_appname)
-require('ssb-client')(config, function (err, sbot) {
- if (err) throw err
- require('.').init(sbot, config)
-})