Skip to content

Commit

Permalink
Let "yarn start/debug" accept config file path arg
Browse files Browse the repository at this point in the history
Also use "yarn start" in the README
  • Loading branch information
AndrewFerr committed Sep 14, 2023
1 parent e64d4b5 commit f90196b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ by running ``yarn set version classic`` in the directory where you cloned this r
homeserverUrl: "https://example.com"
```
* Run ``node build/src/discordas.js -r -u "http://localhost:9005" -c config.yaml``
* Run ``yarn start -r -u "http://localhost:9005"``
* Modify your HSs appservices config so that it includes the generated file.
* e.g. On synapse, adding to ``app_service_config_files`` array in ``homeserver.yaml``
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"coverage": "tsc && nyc mocha build/test/config.js build/test",
"build": "tsc",
"postinstall": "yarn build",
"start": "node ./build/src/discordas.js -c config.yaml",
"debug": "node --inspect ./build/src/discordas.js -c config.yaml",
"start": "node ./build/src/discordas.js",
"debug": "node --inspect ./build/src/discordas.js",
"addbot": "node ./build/tools/addbot.js",
"adminme": "node ./build/tools/adminme.js",
"usertool": "node ./build/tools/userClientTools.js",
Expand Down

0 comments on commit f90196b

Please sign in to comment.