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
Copy file name to clipboardExpand all lines: pydis_site/apps/content/resources/guides/pydis-guides/contributing/bot.md
+2-22Lines changed: 2 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,27 +21,7 @@ The following are needed to run the bot:
21
21
1. uv: See the [uv installation guide](https://docs.astral.sh/uv/getting-started/installation/).
22
22
2.[Python 3.14](https://www.python.org/downloads/): This can be installed [using uv](https://docs.astral.sh/uv/guides/install-python/#installing-python).
23
23
3. Project Dependencies: Install by running `uv sync` in the command line from the root directory of the cloned repository.
<li>Docker Compose. If you're using macOS and Windows, this already comes bundled with the previous installation. Otherwise, you can download it either from the <a href="https://docs.docker.com/compose/install">website</a>, or by running <code>pip install docker-compose</code>.</li>
39
-
</ul>
40
-
<p class="notification is-warning">If you get any Docker related errors, reference the <a href="../docker#possible-issues">Possible Issue</a> section of the Docker page.</p>
41
-
</div>
42
-
</div>
43
-
</div>
44
-
<br>
24
+
4. Docker. See [our docker guide](../docker).
45
25
46
26
### Set Up a Test Server
47
27
The Python bot is tightly coupled with the Python Discord server, so the bot expects the existence of certain
@@ -105,7 +85,7 @@ If you want to setup the bot from an existing guild read our [manual configurati
105
85
#### With Docker
106
86
You are now ready to run the Python bot. The simplest way to do so is with Docker.
107
87
108
-
With all of the above setup, you can run the project with `docker compose up`. This will start the bot and all required services! Enter your server and type `!help`(or whatever prefix you chose instead of `!`) to see the bot in action!
88
+
With all of the above setup, you can run the project with `docker compose up`. This will start the bot and all required services! Enter your server and type `!help` to see the bot in action!
Copy file name to clipboardExpand all lines: pydis_site/apps/content/resources/guides/pydis-guides/contributing/docker.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ icon: fab fa-docker
5
5
toc: 2
6
6
---
7
7
8
-
Both our [Site](../site/) and [Bot](../bot/) projects use Docker and Docker-Compose during development in order to provide an easy to setup and consistent development environment.
8
+
Both our [Site](../site/) and [Bot](../bot/) projects use Docker and DockerCompose during development in order to provide an easy to setup and consistent development environment.
9
9
10
10
Consider reading some of the following topics if you're interested in learning more about Docker itself:
11
11
@@ -15,12 +15,12 @@ Consider reading some of the following topics if you're interested in learning m
15
15
16
16
# Docker Installation
17
17
You can find installation guides available for your respective OS from the official Docker documentation:
@@ -86,7 +85,7 @@ The project can be started with Docker or by running it directly on your system.
86
85
Start the containers using Docker Compose:
87
86
88
87
```shell
89
-
docker-compose up
88
+
dockercompose up
90
89
```
91
90
92
91
The `-d` option can be appended to the command to run in detached mode. This runs the containers in the background so the current terminal session is available for use with other things.
@@ -106,7 +105,7 @@ Note that this can still be done with Docker even if the webserver will be runni
106
105
If you chose to use Docker for just the database, use Docker Compose to start the container:
107
106
108
107
```shell
109
-
docker-compose up postgres
108
+
dockercompose up postgres
110
109
```
111
110
112
111
If you're not using Docker, then use [pg_ctl](https://www.postgresql.org/docs/current/app-pg-ctl.html) or your system's service manager if PostgreSQL isn't already running.
0 commit comments