Skip to content

Commit 5dbad88

Browse files
authored
Merge pull request #712 from allthingslinux/improve-readme
docs: update README for clarity and accuracy in setup instructions
2 parents fad8b1b + 321e3b1 commit 5dbad88

File tree

1 file changed

+13
-18
lines changed

1 file changed

+13
-18
lines changed

README.md

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
</div>
1717

1818
> [!WARNING]
19-
**This bot (without plenty of tweaking) is not ready for production use, we suggest against using it until announced. Join our support server: [atl.dev](https://discord.gg/gpmSjcjQxg) for more info!**
19+
**This bot is still a work in progress and issues are expected. If you self-host our bot please join our support server [here](https://discord.gg/gpmSjcjQxg) for announcements and support.**
2020

2121
## About
2222

23-
Tux is an all in one Discord bot for the All Things Linux Discord server.
23+
Tux is an all in one Discord bot originally designed for the All Things Linux Discord server.
2424

2525
It is designed to provide a variety of features to the server, including moderation, support, utility, and various fun commands.
2626

@@ -31,7 +31,6 @@ It is designed to provide a variety of features to the server, including moderat
3131
- Docker and Docker Compose for development and deployment
3232
- Strict typing with Pyright and type hints
3333
- Type safe ORM using Prisma
34-
- PostgreSQL database with Supabase
3534
- Linting and formatting via Ruff and Pre-commit
3635
- Justfile for easy CLI commands
3736
- Beautiful logging with Loguru
@@ -56,7 +55,7 @@ It is designed to provide a variety of features to the server, including moderat
5655

5756
- Python 3.13
5857
- [Poetry](https://python-poetry.org/docs/)
59-
- [Supabase](https://supabase.io/)
58+
- [Supabase](https://supabase.io/) or any PostgreSQL database
6059
- Optional: [Docker](https://docs.docker.com/get-docker/)
6160
- Optional: [Docker Compose](https://docs.docker.com/compose/install/) (see the [development notes](#development-notes) for more information)
6261
- Optional: [Just](https://github.com/casey/just/)
@@ -73,35 +72,31 @@ Further detailed instructions can be found in the [development guide](docs/devel
7372
git clone https://github.com/allthingslinux/tux && cd tux
7473
```
7574

76-
2. Install the project's dependencies
75+
2. Install the project's dependencies and set up the virtual environment
7776

7877
```bash
7978
poetry install
79+
poetry env use 3.13
8080
```
8181

82-
3. Activate the virtual environment
83-
84-
```bash
85-
poetry shell
86-
```
87-
88-
4. Install the pre-commit hooks
82+
3. Install the pre-commit hooks (optional unless you are contributing)
8983

9084
```bash
9185
pre-commit install
9286
```
9387

94-
5. Generate the prisma client
88+
4. Generate the prisma client and push the database schema
9589

9690
```bash
9791
prisma generate
92+
prisma db push
9893
```
9994

10095
Currently, you will need to have a Supabase database set up and the URL set in the `DATABASE_URL` environment variable.
10196

10297
In the future, we will provide a way to use a local database. We can provide a dev database on request.
10398

104-
6. Copy the `.env.example` file to `.env` and fill in the required values.
99+
5. Copy the `.env.example` file to `.env` and fill in the required values.
105100

106101
```bash
107102
cp .env.example .env
@@ -111,7 +106,7 @@ Further detailed instructions can be found in the [development guide](docs/devel
111106
112107
We offer dev tokens on request in our Discord server.
113108
114-
7. Copy the `config/settings.yml.example` file to `config/settings.yml` and fill in the required values.
109+
6. Copy the `config/settings.yml.example` file to `config/settings.yml` and fill in the required values.
115110
116111
```bash
117112
cp config/settings.yml.example config/settings.yml
@@ -121,16 +116,16 @@ Further detailed instructions can be found in the [development guide](docs/devel
121116
122117
You can also add your custom prefix here.
123118
124-
8. Start the bot!
119+
7. Start the bot!
125120
126121
```bash
127122
poetry run python tux/main.py
128123
```
129124
130-
9. Run the sync command in the server to sync the slash command tree.
125+
8. Run the clear tree command in the server to sync the slash command tree.
131126
132127
```bash
133-
{prefix}dev sync <server id>
128+
{prefix}dev ct
134129
```
135130
136131
## Development Notes

0 commit comments

Comments
 (0)