git ssb

16+

Dominic / patchbay



Commit 62d6ec3f6ae3b369ebf676f26335550809aa3de2

update README

mix irving committed on 9/11/2017, 6:31:29 AM
Parent: 20b068c61874ad0cae6afbd9ab2ffefe1fb2f74c

Files changed

README.mdchanged
README.mdView
@@ -10,9 +10,9 @@
1010
1111
1212 ## Setup
1313
14-Libsodium has some build dependencies. On *ubuntu systems the following might help:
14 +Libsodium has some build dependencies. On ubuntu systems the following might help:
1515
1616 ```sh
1717 sudo apt-get install m4 libtool eclipse-cdt-autotools
1818 ```
@@ -21,13 +21,40 @@
2121 ```sh
2222 brew install libtool automake autoconf
2323 ```
2424
25-Install Scuttlebot (your gossip server)
25 +### Easy Install
2626
27 +This runs an embedded sbot with all the right plugins already installed.
28 +
2729 ```sh
30 +git clone https://github.com/ssbc/patchbay.git
31 +cd patchbay
32 +npm install
33 +npm run rebuild
34 +```
35 +
36 +Patchbay doesn't give you a way to join pubs yet, so this is good if you've already done that with another client (like Patchwork).
37 +
38 +
39 +### Harder Install (full dev setup)
40 +
41 +Install a standalone scuttlebot (your gossip server)
42 +```sh
2843 npm install scuttlebot@latest -g
44 +```
2945
46 +Until https://github.com/ssbc/scuttlebot/pull/417 is resolved, you may need to do this instead:
47 +
48 +```sh
49 +git clone https://github.com/ssbc/scuttlebot.git
50 +cd scuttlebot
51 +git checkout ssb-private
52 +npm install
53 +npm link // this should make sbot accessible globally
54 +```
55 +
56 +```sh
3057 # make sure you have secure-scuttlebutt@15.5.2
3158 npm ls secure-scuttlebutt -g
3259
3360 sbot server
@@ -41,31 +68,37 @@
4168 # restart sbot server (go back to previous tab and kill it)
4269 ```
4370
4471 Restart your sbot, then (optionally) use an invite code. This will give you your first friend, from which point you can find others:
72 +```sh
73 +sbot invite.accept LONG_INVITE_CODE_MAYBE_IN_QUOTES
4574 ```
46- sbot invite.accept LONG_INVITE_CODE_MAYBE_IN_QUOTES
47-```
4875
49-Install Patchbay (an interface for the your scuttlebutt database)
50-
76 +Install Patchbay
5177 ```sh
5278 git clone https://github.com/ssbc/patchbay.git
5379 cd patchbay
5480 npm install
55-npm run setup
5681 npm run rebuild
5782 ```
5883
59-
6084 ## Running the desktop app
6185
62-From inside the patchbay repo folder,
6386
87 +Easy mode (embedded sbot):
6488 ```sh
89 +# from the patchbay repo folder
6590 npm start
6691 ```
6792
93 +Harder mode:
94 +```sh
95 +sbot server
96 +
97 +# from the patchbay repo folder
98 +npm run dev
99 +```
100 +
68101 ## How to add a feature
69102
70103 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).
71104
@@ -75,13 +108,10 @@
75108
76109
77110 ## Module graph
78111
79-patchbay uses [depject](http://github.com/dominictarr/depject) to manage it's modules. Here is a graph of the current connections between them (round shows module, square shows api, arrow direction points from user to provider).
112 +TODO - reinstate this
80113
81-[module graph](./graph.svg)
82-
83-
84114 ## License
85115
86116 MIT
87117

Built with git-ssb-web