mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
chore: Fixed incorrect installation guidlines in README.md
(#2090)
This commit is contained in:
parent
b1b8c23d93
commit
2468b60363
1 changed files with 11 additions and 8 deletions
19
README.md
19
README.md
|
@ -72,15 +72,15 @@ Check out our [autoinstall](https://github.com/torrentpier/autoinstall) reposito
|
|||
> [!IMPORTANT]
|
||||
> 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
|
||||
```shell
|
||||
cd /path/to/public_html
|
||||
cd /path/to/www
|
||||
```
|
||||
2. Download the latest version of TorrentPier
|
||||
```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
|
||||
```shell
|
||||
|
@ -90,15 +90,18 @@ Check out our [autoinstall](https://github.com/torrentpier/autoinstall) reposito
|
|||
|
||||
### Manual 🔩
|
||||
|
||||
1. Install [Composer](https://getcomposer.org/)
|
||||
2. Run the following command to create the TorrentPier project
|
||||
1. [Check our system requirements](#-requirements)
|
||||
2. Select the folder where you want TorrentPier installed
|
||||
```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
|
||||
```shell
|
||||
composer install
|
||||
composer install --optimize-autoloader --no-dev
|
||||
```
|
||||
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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue