Skip to content
Extraits de code Groupes Projets
Valider 35746c17 rédigé par Will Hunt's avatar Will Hunt Validation de GitHub
Parcourir les fichiers

Merge pull request #5 from tchncs/master

avoid some errors deployers can run into
parents 45a7841b 54c89e38
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -24,9 +24,9 @@ Please also be aware that this is an unoffical project worked on in my (Half-Sho ...@@ -24,9 +24,9 @@ Please also be aware that this is an unoffical project worked on in my (Half-Sho
### Setup the bridge ### Setup the bridge
* Run ``npm install`` to grab the dependencies. * Run ``npm install`` to grab the dependencies.
* Run ``npm build`` to build the typescript. * Run ``npm run-script build`` to build the typescript.
* Copy ``config/config.sample.yaml`` to ``config.yaml`` and edit it to reflect your setup. * Copy ``config/config.sample.yaml`` to ``config.yaml`` and edit it to reflect your setup.
* Run ``node build/discordas.js -r -u "http://localhost:9005" -c config.yaml`` * Run ``node build/src/discordas.js -r -u "http://localhost:9005/" -c config.yaml``
* Modify your HSs appservices config so that it includes the generated file. * Modify your HSs appservices config so that it includes the generated file.
#### 3PID Protocol Support #### 3PID Protocol Support
......
bridge: bridge:
domain: localhost domain: "localhost"
homeserverUrl: http://localhost:8008 homeserverUrl: "http://localhost:8008"
auth: auth:
clientID: 12345 # Get from discord clientID: "12345" # Get from discord
secret: blah secret: "blah"
botToken: foobar botToken: "foobar"
logging: logging:
level: "warn" #silly, verbose, info, http, warn, error level: "warn" #silly, verbose, info, http, warn, error
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter