mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
chore: Added missing mysqli
extension in README & updated some workflows (#2091)
* chore: Added missing `mysqli` extension in README & updated some workflows * Update install.php * Update README.md
This commit is contained in:
parent
2468b60363
commit
7c3faa922f
4 changed files with 4 additions and 15 deletions
5
.github/workflows/cd.yml
vendored
5
.github/workflows/cd.yml
vendored
|
@ -43,10 +43,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
php-version: '8.1'
|
php-version: '8.1'
|
||||||
|
|
||||||
- name: Update composer.lock file
|
- name: Install Composer dependencies 🪚
|
||||||
run: composer update --no-install
|
|
||||||
|
|
||||||
- name: Install Composer dependencies
|
|
||||||
run: composer install --no-progress --prefer-dist --optimize-autoloader
|
run: composer install --no-progress --prefer-dist --optimize-autoloader
|
||||||
|
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
|
|
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -19,9 +19,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
php-version: '8.1'
|
php-version: '8.1'
|
||||||
|
|
||||||
- name: Update composer.lock file
|
|
||||||
run: composer update --no-install
|
|
||||||
|
|
||||||
- name: Install Composer dependencies 🪚
|
- name: Install Composer dependencies 🪚
|
||||||
run: composer install --no-progress --prefer-dist --optimize-autoloader
|
run: composer install --no-progress --prefer-dist --optimize-autoloader
|
||||||
|
|
||||||
|
@ -59,9 +56,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
php-version: '8.1'
|
php-version: '8.1'
|
||||||
|
|
||||||
- name: Update composer.lock file
|
|
||||||
run: composer update --no-install
|
|
||||||
|
|
||||||
- name: Install Composer dependencies 🪚
|
- name: Install Composer dependencies 🪚
|
||||||
run: composer install --no-progress --prefer-dist --optimize-autoloader
|
run: composer install --no-progress --prefer-dist --optimize-autoloader
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ and go from there. The documentation will be translated to English in the near f
|
||||||
* Apache / nginx ([example config](install/nginx.conf)) / caddy ([example config](install/Caddyfile))
|
* Apache / nginx ([example config](install/nginx.conf)) / caddy ([example config](install/Caddyfile))
|
||||||
* MySQL 5.5.3 or above (including MySQL 8.0+) / MariaDB 10.0 or above / Percona
|
* MySQL 5.5.3 or above (including MySQL 8.0+) / MariaDB 10.0 or above / Percona
|
||||||
* PHP: 8.1 / 8.2 / 8.3 / 8.4
|
* PHP: 8.1 / 8.2 / 8.3 / 8.4
|
||||||
* PHP Extensions: mbstring, gd, bcmath, intl, tidy (optional), xml, xmlwriter
|
* PHP Extensions: mysqli, mbstring, gd, bcmath, intl, tidy (optional), xml, xmlwriter
|
||||||
* Crontab (Recommended)
|
* Crontab (Recommended)
|
||||||
|
|
||||||
## 💾 Installation
|
## 💾 Installation
|
||||||
|
@ -101,7 +101,7 @@ Check out our [autoinstall](https://github.com/torrentpier/autoinstall) reposito
|
||||||
```
|
```
|
||||||
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 --optimize-autoloader --no-dev
|
composer install --prefer-dist --optimize-autoloader
|
||||||
```
|
```
|
||||||
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`
|
||||||
|
|
|
@ -145,9 +145,7 @@ if (!is_file(BB_ROOT . 'vendor/autoload.php')) {
|
||||||
// Installing dependencies
|
// Installing dependencies
|
||||||
if (is_file(BB_ROOT . 'composer.phar')) {
|
if (is_file(BB_ROOT . 'composer.phar')) {
|
||||||
out('- Installing dependencies...', 'info');
|
out('- Installing dependencies...', 'info');
|
||||||
runProcess('php ' . BB_ROOT . 'composer.phar update --no-install');
|
runProcess('php ' . BB_ROOT . 'composer.phar install --no-interaction --no-ansi --prefer-dist --optimize-autoloader');
|
||||||
sleep(3);
|
|
||||||
runProcess('php ' . BB_ROOT . 'composer.phar install --no-interaction --no-ansi');
|
|
||||||
define('COMPOSER_COMPLETED', true);
|
define('COMPOSER_COMPLETED', true);
|
||||||
} else {
|
} else {
|
||||||
out('- composer.phar not found. Please, download it (composer.phar) manually', 'error');
|
out('- composer.phar not found. Please, download it (composer.phar) manually', 'error');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue