git ssb

16+

Dominic / patchbay



Commit 6b95509d92251961461a6d8573a940a424978eaf

update README, re-order depject inclusions of chess

mix irving committed on 7/24/2017, 10:50:38 AM
Parent: 2e9362f82b1d7defb64f07e1d94adad6b304e6ae

Files changed

README.mdchanged
main.jschanged
package-lock.jsonchanged
README.mdView
@@ -51,44 +51,20 @@
5151 ```sh
5252 git clone https://github.com/ssbc/patchbay.git
5353 cd patchbay
5454 npm install
55 +npm run rebuild
5556 ```
5657
5758
5859 ## Running the desktop app
5960
6061 From inside the patchbay repo folder,
6162
6263 ```sh
63-npm install -g electron electro font-awesome
64-npm run rebuild
6564 npm start
6665 ```
6766
68-## Running in the browser
69-
70-_this is incomplete_
71-
72-From inside the patchbay repo folder,
73-
74-```
75-npm install -g browserify indexhtmlify
76-mkdir -p build && browserify main.js | indexhtmlify --title patchbay > build/index.html
77-```
78-
79-Make sure scuttlebot is allowing private connections. Stop any running sbot server, restart it with the `--allowPrivate` option and create a new modern invite:
80-
81-```sh
82-sbot server --allowPrivate
83-sbot invite.create --modern
84-```
85-
86-From inside the patchbay repo folder, run `npm run lite`.
87-
88-Lastly open `build/index.html` in a browser and append the invite
89-created above using: index.html#ws://localhost:8989....
90-
9167 ## How to add a feature
9268
9369 To add a new message type, add add a js to `./modules/` that exports a function named `message_content` (it should return an HTML element). To add a new tab, export a function named `screen_view` (returns an html element).
9470
main.jsView
@@ -16,16 +16,16 @@
1616 require('setimmediate')
1717
1818 // from more specialized to more general
1919 const sockets = combine(
20 + ssbchess,
2021 context,
2122 patchHub,
2223 bayGatherings, //adds menu items
2324 gatherings,
2425 horcrux,
2526 patchbay,
26- patchcore,
27- ssbchess
27 + patchcore
2828 )
2929
3030 const api = entry(sockets, nest('app.html.app', 'first'))
3131
package-lock.jsonView
The diff is too large to show. Use a local git client to view these changes.
Old file size: 131385 bytes
New file size: 249044 bytes

Built with git-ssb-web