Skip to content
This repository has been archived by the owner on Jan 3, 2022. It is now read-only.

polaris-rbx/Polaris-React

Repository files navigation

Info

Polaris react is the website and React webpanel for the Polaris Roblox verification bot. It makes use of the same database and must be running on the same server.

We make use of an inter-process communication package to allow them to run on separate processes.

Installation

  1. Clone this repo
  2. Navigate into the new folder and run npm install
  3. Navigate into src/server and create config.js. Example values:
    module.exports = {
    	port: 80,
    	voteSecret: "secretFromDiscordBotListVote",
    	voteWebhook: "webhookToPostForVotes",
    	CLIENT_ID: 'yourAppClientId',
    	CLIENT_SECRET: 'yourAppClientSecret-NOT TOKEN',
    	botInvite: "https://discordapp.com/oauth2/authorize?client_id=375408313724043278&scope=bot&permissions=470281408",
    	baseurl: "https://polaris-bot.xyz",
    	sentryToken: "A token for the sentry error management software. Leave empty if not using",
    	ratelimitHook: "A webhook to post with warnings about excessive usage. @everyone will be tagged."
    };
  4. Make sure you've set up a Polaris bot instance
  5. Run it - npm start. This assumes you've already set up the database and bot.

Help

Join our Discord for support.

Official polaris site

See here for the version we host.