-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# WordleBot | ||
|
||
Public instance: [Invite](https://discord.com/oauth2/authorize?client_id=948289152514924584&scope=applications.commands) | ||
|
||
## Self-Hosting | ||
#### Setup | ||
```shell | ||
git clone https://github.com/Skye-31/WordleBot | ||
cd WordleBot | ||
cp example.config.json config.json | ||
# Edit your config.json file as appropriate | ||
# You should use a Postgresql 12+ database | ||
# Install Docker & Docker Compose | ||
docker-compose build | ||
``` | ||
#### Running | ||
The first time you run the bot, you should use the flags --sync-commands and --sync-db to automatically set up your bot commands & database tables. | ||
You can do this by commenting out the line in your `docker-compose.yml`. | ||
|
||
After that, you run the following command. | ||
```shell | ||
docker-compose up -d | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ services: | |
restart: unless-stopped | ||
volumes: | ||
- ./config.json:/app/config.json | ||
#command: --sync-commands --sync-db |