Skip to content
Snippets Groups Projects
Commit 1355e7d3 authored by echicken's avatar echicken
Browse files

Updated instructions to reflect the new default behavior (accessing a locally...

Updated instructions to reflect the new default behavior (accessing a locally hosted JSON DB) with recommendation to connect to the shared DB.
parent bb0f5014
Branches
Tags
No related merge requests found
...@@ -7,7 +7,9 @@ Table of Contents ...@@ -7,7 +7,9 @@ Table of Contents
1 - Introduction 1 - Introduction
2 - Installation 2 - Installation
3 - Host your own wall 3 - The SyncWall JSON Database
3.1 - Connecting to the shared database
3.2 - Hosting your own database (default)
4 - Support 4 - Support
...@@ -28,6 +30,9 @@ SyncWall depends on several libraries that any fully up-to-date Synchronet ...@@ -28,6 +30,9 @@ SyncWall depends on several libraries that any fully up-to-date Synchronet
BBS installation should already have. If you don't already do this regularly, BBS installation should already have. If you don't already do this regularly,
back up your BBS and then grab the latest updates from CVS. back up your BBS and then grab the latest updates from CVS.
SyncWall also relies on access to a JSON database, which you may host locally
or (more preferably) access remotely. See section three for more information.
I'll assume that your copy of Synchronet is installed at /sbbs. Bear that in I'll assume that your copy of Synchronet is installed at /sbbs. Bear that in
mind as you follow these instructions. mind as you follow these instructions.
...@@ -58,33 +63,44 @@ mind as you follow these instructions. ...@@ -58,33 +63,44 @@ mind as you follow these instructions.
saving your changes when prompted saving your changes when prompted
3) Host your own wall 3) The SyncWall JSON database
--------------------- -----------------------------
If you're not already running the JSON DB service, add the following section 3.1) Connect to the shared SyncWall database at bbs.electronicchicken.com:
to /sbbs/ctrl/services.ini: --------------------------------------------------------------------------
In xtrn/syncwall, create a text file named "server.ini". Edit that file so
[JSON] that it contains the following two lines:
Port = 10088
Options = STATIC | LOOP host = bbs.electronicchicken.com
Command = json-service.js port = 10088
Add the following line to /sbbs/ctrl/json-service.ini: Your SyncWall instance will now connect to the shared database. You and
your users will see what has been drawn (or is being drawn) on every other
syncwall=../xtrn/syncwall BBS that uses this same datastore.
Open /sbbs/xtrn/syncwall/syncwall.js in a text editor and change the line: 3.2) Host your own wall
-----------------------
var server = "bbs.electronicchicken.com"; By default, SyncWall will attempt to connect to the JSON database service on
port 10088 of your BBS server. If you're not already running the JSON DB
To point to your hostname. (If you set the port for the JSON service to service, add the following section to /sbbs/ctrl/services.ini:
something other than 10088 in /sbbs/ctrl/services.ini, you'll also need
to change the port number on the following line.) [JSON]
Port = 10088
If you want other systems to be able to use your wall, be sure that external Options = STATIC | LOOP
hosts can connect to port 10088 of your BBS server, and tell the other sysops Command = json-service.js
to make the same changes to /sbbs/xtrn/syncwall.js that you just did.
To create a SyncWall database on your BBS' JSON service, add the following
line to /sbbs/ctrl/json-service.ini:
syncwall=../xtrn/syncwall
Recycle services (or simply restart your BBS) for these changes to take
effect.
If you want other systems to be able to access your SyncWall database, tell
the sysops to follow the instructions set out in section 3.1 of this file,
substituting the hostname and port number accordingly.
4) Support 4) Support
---------- ----------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment