diff --git a/README.md b/README.md index 74a5504b1bc5b71751804e1a08b387310a5f1bbc..9a7b48fce6df27ea7fcf4ea4755d6f053f13d7ed 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ Please also be aware that this is an unoffical project worked on in my (Half-Sho ### Setup the bridge * 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. -* 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. #### 3PID Protocol Support diff --git a/config/config.sample.yaml b/config/config.sample.yaml index 861f013ed704b56918977bff888ea2a1525bf8c6..af22a1841b458a7572d2e6b7d9167160825b15eb 100644 --- a/config/config.sample.yaml +++ b/config/config.sample.yaml @@ -1,9 +1,9 @@ bridge: - domain: localhost - homeserverUrl: http://localhost:8008 + domain: "localhost" + homeserverUrl: "http://localhost:8008" auth: - clientID: 12345 # Get from discord - secret: blah - botToken: foobar + clientID: "12345" # Get from discord + secret: "blah" + botToken: "foobar" logging: level: "warn" #silly, verbose, info, http, warn, error