~emersion/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 2

[PATCH gamja] doc: how to connect with a local soju instance

Details
Message ID
<20210531121917.780160-1-porcellis@eletrotupi.com>
DKIM signature
pass
Download raw message
Patch: +11 -2
---
 README.md | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index e5d2245..e9ec663 100644
--- a/README.md
+++ b/README.md
@@ -59,8 +59,17 @@ Start your IRC WebSocket server, e.g. on port 8080. Then run:
    npm install
    npm start

This will start a development HTTP server for gamja. Connect to it and append
`?server=ws://localhost:8080` to the URL.
This will start a development HTTP server for gamja. You can proceed to connect
normally (filling the form), messing with the `config.json` file on gamja's
source code root or overriding the settings via query parameters on the URL.

#### soju

With soju running locally, you'll need to configure the `http-origin` directive
on your soju configuration, to the same host and port you'll be running gamja.

Also, you'll need to set soju to listen as a insecure WebSocket (`listen
ws+insecure`).

## Query parameters

-- 
2.31.1
Details
Message ID
<358cbPReg_pvZx7zCckjHDkt7-ReEuz7ucjuIjWfVxtHXbZPSmpF8b1XmOUha5jTJsRoCm991ZSpmG2f8N6GAfn2ozPoVzioCCGxM9cRLbg=@emersion.fr>
In-Reply-To
<20210531121917.780160-1-porcellis@eletrotupi.com> (view parent)
DKIM signature
pass
Download raw message
Maybe we should move this new soju section up under the already existing
soju section, as a new paragraph?
Details
Message ID
<YLUuSXIG5g40dWDS@gaia>
In-Reply-To
<358cbPReg_pvZx7zCckjHDkt7-ReEuz7ucjuIjWfVxtHXbZPSmpF8b1XmOUha5jTJsRoCm991ZSpmG2f8N6GAfn2ozPoVzioCCGxM9cRLbg=@emersion.fr> (view parent)
DKIM signature
pass
Download raw message
On Mon, May 31, 2021 at 12:50:05PM +0000, Simon Ser wrote:
> Maybe we should move this new soju section up under the already existing
> soju section, as a new paragraph?

Well, it got the feeling that your intention were to split between
running a production and development. If that's not the case, I can send
a v2 of this patch.
Details
Message ID
<9Ext-xSl_QhEyVU-YsQSMeTy03vNvNkJBEAsU2ip7dSwNcdR1HPiioqSYp4AoBVBCKhyc-8f0AoG_sIqaCn0EOQdSN4h9xNysPQqGNE-N_8=@emersion.fr>
In-Reply-To
<YLUuSXIG5g40dWDS@gaia> (view parent)
DKIM signature
pass
Download raw message
On Monday, May 31st, 2021 at 8:43 PM, Pedro Lucas Porcellis <porcellis@eletrotupi.com> wrote:

> On Mon, May 31, 2021 at 12:50:05PM +0000, Simon Ser wrote:
>
> > Maybe we should move this new soju section up under the already existing
> > soju section, as a new paragraph?
>
> Well, it got the feeling that your intention were to split between
> running a production and development. If that's not the case, I can send
> a v2 of this patch.

Well, that's a good point. I'm still uncomfortable with having two
headings about soju. Maybe we can turn the development soju section
into a single paragraph starting with "To use with soju, …"?
Reply to thread Export thread (mbox)