Web Interface
This documentation site is deprecated. Please visit the README of https://github.com/synzen/MonitoRSS for hosting instructions.
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.
Requirements
Node.js v12.16 or higher
MongoDB v4.2+
Redis (persistence is not required)
Setup
You can then set up the bot and web app separately, or you can run them together.
Standalone from clone (recommended for high availability)
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.
Set up the required configs in settings/config.web.json (for details on each, see the Web Interface configuration section of the wiki)
config.bot.token
config.bot.redirectURI
config.bot.clientID
config.bot.clientSecret
config.database.uri
(This must be the same URI that the bot uses)config.database.redis
Add the same
config.bot.redirectURI
to your bot application at Discord Developers in the OAuth 2 section.Run
node web.js
Coupled with Bot
Follow the setup steps for cloning the bot
Set up the required configs in settings/config.web.json (for details on each, see the Web Interface configuration section of the wiki)
config.bot.token
config.bot.redirectURI
config.bot.clientID
config.bot.clientSecret
config.database.uri
(This must be the same URI that the bot uses in in config.bot.json)config.database.redis
Add the same
config.bot.redirectURI
to your bot application at Discord Developers in the OAuth 2 section.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.
Access
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 updated