git ssb

2+

mixmix / ticktack



Commit 5ddb61498a69d813054a66248db01b1b2bca23eb

add app_env notes to README

mix irving committed on 8/14/2017, 7:17:16 AM
Parent: f67dee83205ce75cdc20a89fdf5f45993d6809df

Files changed

README.mdchanged
app/html/thread.jschanged
package-lock.jsonchanged
README.mdView
@@ -1,24 +1,34 @@
11 # Ticktack
22
3-## Planning
3+## Planning
44
55 Workplan 1 : https://hackmd.io/BwZhCYHZwNgFgLRxAU0XAhjECCcBGSDBGSfOSEDAE2oDMBWXIA==?view#
66
77 Trello : https://trello.com/b/93eXDvVP/ticktack
88
99
1010 ## Development
1111
12-### Repos
12+### Repos
1313
1414 - `git@github.com:ticktackim/ticktack-wp1.git`
1515 - `ssb://%tkJPTTaxOzfLbsewZmgC9CslSER0ntjQOcyhIk6y/cQ=.sha256`
1616
1717 ### Install
1818
1919 ```bash
20-npm install
21-npm run setup
22-npm start
20+$ npm install
21+$ npm run setup
22+$ npm start
2323 ```
2424
25+### App env
26+
27+This app starts with default `ssb_appname` of `ticktack-ssb`, so you can find it's data in `~/.ticktack-ssb`.
28+
29+To load the app with your classic ssb key, run :
30+
31+```bash
32+$ ssb_appname=ssb npm start
33+```
34+
app/html/thread.jsView
@@ -16,10 +16,9 @@
1616
1717 function thread (id) {
1818 // location here can expected to be: { page: 'home' }
1919
20- var myId = api.keys.sync.id()
21-
20+ const myId = api.keys.sync.id()
2221 const thread = api.feed.obs.thread(id)
2322 const chunkedMessages = buildChunkedMessages(thread.messages)
2423
2524 const threadView = h('Thread',
package-lock.jsonView
The diff is too large to show. Use a local git client to view these changes.
Old file size: 209660 bytes
New file size: 190054 bytes

Built with git-ssb-web