forked from cadence/out-of-your-element
Remove token from config file
This commit is contained in:
parent
c0d92ea66d
commit
cc7831a313
9 changed files with 11 additions and 22 deletions
|
@ -81,11 +81,7 @@ Follow these steps:
|
|||
|
||||
1. Install dependencies: `npm install`
|
||||
|
||||
1. Copy `config.example.js` to `config.js` and fill in Discord token.
|
||||
|
||||
1. Copy `registration.example.yaml` to `registration.yaml` and fill in bracketed values. You could generate each hex string with `dd if=/dev/urandom bs=32 count=1 2> /dev/null | basenc --base16 | dd conv=lcase 2> /dev/null`. Register the registration in Synapse's `homeserver.yaml` through the usual appservice installation process, then restart Synapse.
|
||||
|
||||
1. Run `node scripts/seed.js` to check your setup and set the bot's initial state. You only need to run this once ever.
|
||||
1. Run `node scripts/seed.js` to check your setup and set the bot's initial state. It will prompt you for information. You only need to run this once ever.
|
||||
|
||||
1. Start the bridge: `node start.js`
|
||||
|
||||
|
@ -113,7 +109,6 @@ To get into the rooms on your Matrix account, either add yourself to `invite` in
|
|||
* Run this to start the bridge:
|
||||
├── start.js
|
||||
* Runtime configuration, like tokens and user info:
|
||||
├── config.js
|
||||
├── registration.yaml
|
||||
* The bridge's SQLite database is stored here:
|
||||
├── db
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue