Updated the documentation

This commit is contained in:
kku 2024-12-27 22:33:58 +01:00
parent ce57755eee
commit eb8019ccfe

View File

@ -10,7 +10,7 @@
## Installation from release ## Installation from release
1. Install MongoDB using the [official installation manual](https://www.mongodb.com/docs/manual/installation) 1. Install MongoDB using the [official installation manual](https://www.mongodb.com/docs/manual/installation)
2. Install Python 3.9+ (3.11+ is recommended) 2. Install Python 3.11+
3. Download the [latest release](https://git.end-play.xyz/HoloUA/Discord/releases/latest)'s archive 3. Download the [latest release](https://git.end-play.xyz/HoloUA/Discord/releases/latest)'s archive
4. Extract the archive 4. Extract the archive
5. Navigate to the extracted folder and subfolder `Discord` in it 5. Navigate to the extracted folder and subfolder `Discord` in it
@ -19,14 +19,14 @@
7. Activate the virtual environment: 7. Activate the virtual environment:
Windows: `.venv\Scripts\activate.bat` Windows: `.venv\Scripts\activate.bat`
Linux/macOS: `.venv/bin/activate` Linux/macOS: `.venv/bin/activate`
8. Install dependencies: 8. Install the dependencies:
`python -m pip install -r requirements.txt` `python -m pip install -r requirements.txt`
9. Run the bot with `python main.py` after completing the [configuration](#Configuration) 9. Run the bot with `python main.py` after completing the [configuration](#Configuration)
## Installation with Git ## Installation with Git
1. Install MongoDB using the [official installation manual](https://www.mongodb.com/docs/manual/installation) 1. Install MongoDB using the [official installation manual](https://www.mongodb.com/docs/manual/installation)
2. Install Python 3.9+ (3.11+ is recommended) 2. Install Python 3.11+
3. Clone the repository: 3. Clone the repository:
`git clone https://git.end-play.xyz/HoloUA/Discord.git` `git clone https://git.end-play.xyz/HoloUA/Discord.git`
4. `cd Discord` 4. `cd Discord`