You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> This guide is for Docker with Docker Compose. This also assumes you have a working Postgres database. If you don't have one, you can use [Supabase](https://supabase.io/).
4
+
5
+
## Prerequisites
6
+
- Docker and Docker Compose
7
+
- A working Postgres database and the url in the format `postgres://postgres.user:password@url (if supabase use pooler url):5432/postgres`
2. Copy the `.env.example` file to `.env` and fill in the required values.
19
+
20
+
3. Copy the `config/settings.yml.example` file to `config/settings.yml` and fill in the required values.
21
+
22
+
4. Start the bot
23
+
24
+
```bash
25
+
docker-compose up -d
26
+
```
27
+
28
+
> [!NOTE]
29
+
> Add `--build` to the commandif you want to use your local changes.
30
+
31
+
5. Check the logs to see if the bot is running
32
+
33
+
```bash
34
+
docker-compose logs
35
+
```
36
+
37
+
6. Push the database schema
38
+
39
+
```bash
40
+
docker-compose exec tux prisma db push
41
+
```
42
+
43
+
> [!NOTE]
44
+
> If this gets stuck your database URL is most likely incorrect. Please check the URL (port as well, port is usually 5432). You should give the command 30 seconds to run before you assume it's stuck.
45
+
46
+
7. Run `(prefix)help` in your server to see if the bot is running. If it is, now you can start configuring the bot.
0 commit comments