Commit dda4e76777af86ce15043c624df15895344368da
change electron version to match patchwork. Add debugging notes to Readme
mix irving committed on 8/25/2017, 12:35:45 AMParent: 3f20b6a02893dcb23a3239a1e9623b8234222ba7
Files changed
README.md | changed |
package-lock.json | changed |
package.json | changed |
README.md | ||
---|---|---|
@@ -21,9 +21,32 @@ | ||
21 | 21 | ``` |
22 | 22 | |
23 | 23 | ### App env |
24 | 24 | |
25 | -To run development setup with standard ssb key + network : | |
25 | +To run **development** setup with standard ssb key + network : | |
26 | 26 | |
27 | 27 | 1. start you sbot `$ sbot server` |
28 | 28 | 2. run `$ npm run dev` in the repo directory |
29 | 29 | |
30 | +To run a **production** setup: | |
31 | + | |
32 | +1. run `npm start` | |
33 | +2. to debug sbot from terminal, run `$ ssb_appname=ticktack sbot whoami` | |
34 | + | |
35 | +**Note** you'll need a `~/.ticktack/config` file to be able to do (2). | |
36 | +It should have the plugins you're using and a copy of the content of default-config.json, so will look something like: | |
37 | + | |
38 | +```json | |
39 | +{ | |
40 | + "plugins": { | |
41 | + "ssb-contacts": true, | |
42 | + "ssb-about": true, | |
43 | + "ssb-backlinks": true | |
44 | + }, | |
45 | + "port": 43750, | |
46 | + "blobsPort": 43751, | |
47 | + "ws": { "port": 43751 }, | |
48 | + "caps": {"shs": "ErgQF85hFQpUXp69IXtLW+nXDgFIOKKDOWFX/st2aWk="}, | |
49 | + "autoinvite": "128.199.132.182:43750:@7xMrWP8708+LDvaJrRMRQJEixWYp4Oipa9ohqY7+NyQ=.ed25519~YC4ZnjHH8qzsyHe2sihW8WDlhxSUH33IthOi4EsldwQ=" | |
50 | +} | |
51 | +``` | |
52 | + |
package-lock.json | ||
---|---|---|
The diff is too large to show. Use a local git client to view these changes. Old file size: 198685 bytes New file size: 198749 bytes |
Built with git-ssb-web