Web Interface
These are general instructions on how to get the web UI up and running. Steps may vary depending on what other tools you may want to use. The web does not fetch any feeds, and is only used to edit feeds.
- 1.Node.js v12.16 or higher
- 2.MongoDB v4.2+
- 3.
You can then set up the bot and web app separately, or you can run them together.
- 1.Follow setup steps for cloning the bot, but in a separate directory (separate from the original bot, so you have two different clones). You may skip steps concerning config.bot.json.
- 2.Set up the required configs in settings/config.web.json (for details on each, see the Web Interface configuration section of the wiki)
- 1.
config.bot.token
- 2.
config.bot.redirectURI
- 3.
config.bot.clientID
- 4.
config.bot.clientSecret
- 5.
config.database.uri
(This must be the same URI that the bot uses) - 6.
config.database.redis
- 3.Add the same
config.bot.redirectURI
to your bot application at Discord Developers in the OAuth 2 section. - 4.Run
node web.js
- 1.
- 2.Set up the required configs in settings/config.web.json (for details on each, see the Web Interface configuration section of the wiki)
- 1.
config.bot.token
- 2.
config.bot.redirectURI
- 3.
config.bot.clientID
- 4.
config.bot.clientSecret
- 5.
config.database.uri
(This must be the same URI that the bot uses in in config.bot.json) - 6.
config.database.redis
- 3.Add the same
config.bot.redirectURI
to your bot application at Discord Developers in the OAuth 2 section. - 4.Run
node bot-web.js
. This will run the bot and web at the same time, in the same process. You may also set the env variableDRSS_START
tobot-web
and runserver.js
instead.
Go to
http://localhost:port
where port
is what you set config.http.port
to. If HTTPS is enabled, all requests are redirected to https://
.Last modified 3yr ago