Manual Setup - Account Manager
The easiest way to get started is to use the Docker container as described in the Docker Setup guide, but this guide will also cover how to get started without using Docker.
Prerequisites
Discord Application
The Account Manager requires a Discord application to be created to allow users to authenticate with Discord.
If you haven’t already, please see the Discord Application page for instructions on how to create one.
Server Database Access
The Account Manager requires access to the server’s MySQL database to access the account data.
Make sure to adjust your system configuration to allow the Account Manager to connect to the server’s from wherever you will be running the Account Manager.
Node.js
The Account Manager is built using Next.js and as such requires Node.js to be installed.
You will also need to reverse proxy port 3000
with your web server of choice.
Manual Setup
Getting the Latest Release
Getting the latest release is as easy as extracting the contents of the release archive or clone the repository to a directory of your choice.
Configuring the Account Manager
The Account Manager is configured using environment variables.
Replace the content of .env.production
with the content of .env.example
and set the values to match your server and Discord application.
Personalization
We have an extensive list of environment variables that can be used to personalize the Account Manager, please see the Personalization page for more information.
Building the Account Manager
First, install the required dependencies using npm
.
Then, build the Account Manager using npm
.
Running the Account Manager
Once the Account Manager has been built, you can run it using npm
.
This will start the Account Manager on port 3000
.