Store messages into table, required docker container to create table

This commit is contained in:
Benjamin Sherriff
2023-07-06 22:44:48 -04:00
parent 9a8587e4b8
commit 4a366d6237
11 changed files with 115 additions and 51 deletions

View File

@@ -28,18 +28,31 @@ The CLIENT_ID can be found in the General Information tab on the Discord Develop
[Rust](https://www.rust-lang.org/) must be installed to run locally. See [serenity-rs/serenity](https://github.com/serenity-rs/serenity) for more information about Rust Discord API Library.
The following packages must be installed for [serenity-rs/songbird](https://github.com/serenity-rs/songbird). View the repository for additional installation and setup information on other operating systems.
```
sudo apt install libopus-dev
sudo apt install ffmpeg
sudo apt apt install youtube-dl
```
<details>
<summary>Unix Installation</summary>
```
sudo apt install libopus-dev
sudo apt install ffmpeg
sudo apt apt install youtube-dl
# PostgreSQL Headers
sudo apt install libpq5
sudo apt install libpq-dev
```
- Potentially requires [yt-dlp](https://github.com/yt-dlp/yt-dlp#installation) and [yt-dlp FFmpeg Static Auto-Builds](https://github.com/yt-dlp/FFmpeg-Builds).
The following packages must be installed for [PostgreSQL]().
```
sudo apt install libpq5
sudo apt install libpq-dev
```
</details>
<details>
<summary>Mac Installation</summary>
```
brew install opus
brew install ffmpeg
brew install youtube-dl
brew install postgresql
```
</details>
Begin the application with `cargo run` (note the database must still be running)
- `docker compose up -d db`