Setup
Instructions to run WildBeast on Linux
Last updated
Was this helpful?
Instructions to run WildBeast on Linux
Last updated
Was this helpful?
For safety reasons, please don't run WildBeast with the root
account.
If you don't know how to create a new user on Linux, please see
We need a few prerequisites:
A computer running any
You need sudo
or doas
privileges, or access to the root
account
If you want to run WildBeast 24/7, you should get a
A text editor. We're going to use nano
, but you can use anything you'd like.
Run the following code in your terminal:
(Not a fan of curl <url> | bash -
? You can do this too.)
Install Node.js with the following command:
Postgres is available to install by default on Ubuntu, just run the following code in your terminal:
We need to do some extra steps to prepare Postgres for use:
Create a new user for WildBeast to use:
The new user does not need to be a superuser, and can be called whatever you want.
Finally, create a new database:
(We used wildbeast
here as the database user, change it if you used something else in the previous step)
Clone the code and install the required modules:
Open the example configuration file in nano
and enter your details:
When you're done, save the file as .env
Before we can start, we need to initialize the database. Run the following code:
Now for the fun part, testing to see if it worked!
Start WildBeast for the first time with the following command:
You should see something similar to the following if everything went well
19:11:41 [info] Gateway: Client ready
19:11:41 [info] Gateway - shard 0: Gateway ready
Test if your bot works by running the /ping
command
Don't have your bot in your server yet? Check