In order to run the server in your local, you first need to install these:
- Node.JS (v12.18+)
- yarn
When you have installed the required things, you need to run this command on main directory to install libraries:
yarn
As the libraries have installed, you then should add your Discord Token by creating a ".env" file on main directory like this: (Note: If you don't know how to get a Discord Token, then check here)
DISCORD_TOKEN = "YOUR_TOKEN_HERE"
To run the server for development on your local computer, open terminal and run this command:
yarn dev
To run the server for production on a server, open terminal and run this command (Using tmux or screen etc. is recommended as this process will continuously run):
yarn start