chore: Fixed incorrect installation guidlines in README.md

This commit is contained in:
Roman Kelesidis 2025-08-19 20:32:55 +03:00
commit 601d893074
No known key found for this signature in database
GPG key ID: D8157C4D4C4C6DB4

View file

@ -72,15 +72,15 @@ Check out our [autoinstall](https://github.com/torrentpier/autoinstall) reposito
> [!IMPORTANT] > [!IMPORTANT]
> Thanks to [Sergei Solovev](https://github.com/SeAnSolovev) for this installation script ❤️ > Thanks to [Sergei Solovev](https://github.com/SeAnSolovev) for this installation script ❤️
### Quick (For web-panels) ☕️ ### Quick (With installation script) ☕️
1. Select the folder where you want TorrentPier installed 1. Select the folder where you want TorrentPier installed
```shell ```shell
cd /path/to/public_html cd /path/to/www
``` ```
2. Download the latest version of TorrentPier 2. Download the latest version of TorrentPier
```shell ```shell
sudo git clone https://github.com/torrentpier/torrentpier.git . git clone --branch v2.4 --depth 1 https://github.com/torrentpier/torrentpier.git .
``` ```
3. After completing, execute the command below and follow the instructions 3. After completing, execute the command below and follow the instructions
```shell ```shell
@ -90,15 +90,18 @@ Check out our [autoinstall](https://github.com/torrentpier/autoinstall) reposito
### Manual 🔩 ### Manual 🔩
1. Install [Composer](https://getcomposer.org/) 1. [Check our system requirements](#-requirements)
2. Run the following command to create the TorrentPier project 2. Select the folder where you want TorrentPier installed
```shell ```shell
composer create-project torrentpier/torrentpier cd /path/to/www
```
3. Download the latest version of TorrentPier
```shell
git clone --branch v2.4 --depth 1 https://github.com/torrentpier/torrentpier.git .
``` ```
3. [Check our system requirements](#-requirements)
4. After, run this command in the project directory to install Composer dependencies 4. After, run this command in the project directory to install Composer dependencies
```shell ```shell
composer install composer install --optimize-autoloader --no-dev
``` ```
5. Create a database and import the dump located at `install/sql/mysql.sql` 5. Create a database and import the dump located at `install/sql/mysql.sql`
6. Edit database configuration settings in the environment (`.env.example`), after, rename to `.env` 6. Edit database configuration settings in the environment (`.env.example`), after, rename to `.env`