mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-29 06:18:26 +02:00
Require nodejs 20.0 or later
This commit is contained in:
parent
74cc8629f6
commit
8c22ec46bc
4 changed files with 8 additions and 5 deletions
|
@ -75,10 +75,10 @@ Part-DB is also used by small companies and universities for managing their inve
|
||||||
|
|
||||||
* A **web server** (like Apache2 or nginx) that is capable of
|
* A **web server** (like Apache2 or nginx) that is capable of
|
||||||
running [Symfony 6](https://symfony.com/doc/current/reference/requirements.html),
|
running [Symfony 6](https://symfony.com/doc/current/reference/requirements.html),
|
||||||
this includes a minimum PHP version of **PHP 8.1**
|
this includes a minimum PHP version of **PHP 8.2**
|
||||||
* A **MySQL** (at least 5.7) /**MariaDB** (at least 10.4) database server, or **PostgreSQL** 10+ if you do not want to use SQLite.
|
* A **MySQL** (at least 5.7) /**MariaDB** (at least 10.4) database server, or **PostgreSQL** 10+ if you do not want to use SQLite.
|
||||||
* Shell access to your server is highly recommended!
|
* Shell access to your server is highly recommended!
|
||||||
* For building the client-side assets **yarn** and **nodejs** (>= 18.0) is needed.
|
* For building the client-side assets **yarn** and **nodejs** (>= 20.0) is needed.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ sudo apt install git curl zip ca-certificates software-properties-common apt-tra
|
||||||
|
|
||||||
### Install PHP and apache2
|
### Install PHP and apache2
|
||||||
|
|
||||||
Part-DB is written in [PHP](https://php.net) and therefore needs a PHP interpreter to run. Part-DB needs PHP 8.1 or
|
Part-DB is written in [PHP](https://php.net) and therefore needs a PHP interpreter to run. Part-DB needs PHP 8.2 or
|
||||||
higher. However, it is recommended to use the most recent version of PHP for performance reasons and future
|
higher. However, it is recommended to use the most recent version of PHP for performance reasons and future
|
||||||
compatibility.
|
compatibility.
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,8 @@ sections carefully before proceeding to upgrade.
|
||||||
|
|
||||||
## Changes
|
## Changes
|
||||||
|
|
||||||
* PHP 8.1 or higher is required now (Part-DB 0.5 required PHP 5.4+, Part-DB 0.6 PHP 7.0).
|
* PHP 8.2 or higher is required now (Part-DB 0.5 required PHP 5.4+, Part-DB 0.6 PHP 7.0).
|
||||||
Releases are available for Windows too, so almost everybody should be able to use PHP 8.1
|
Releases are available for Windows too, so almost everybody should be able to use PHP 8.2
|
||||||
* **Console access is highly recommended.** The installation of composer and frontend dependencies require console access,
|
* **Console access is highly recommended.** The installation of composer and frontend dependencies require console access,
|
||||||
also more sensitive stuff like database migration works via CLI now, so you should have console access on your server.
|
also more sensitive stuff like database migration works via CLI now, so you should have console access on your server.
|
||||||
* Markdown/HTML is now used instead of BBCode for rich text in description and command fields.
|
* Markdown/HTML is now used instead of BBCode for rich text in description and command fields.
|
||||||
|
|
|
@ -29,6 +29,9 @@
|
||||||
"watch": "encore dev --watch",
|
"watch": "encore dev --watch",
|
||||||
"build": "encore production --progress"
|
"build": "encore production --progress"
|
||||||
},
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=20.0.0"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@algolia/autocomplete-js": "^1.17.0",
|
"@algolia/autocomplete-js": "^1.17.0",
|
||||||
"@algolia/autocomplete-plugin-recent-searches": "^1.17.0",
|
"@algolia/autocomplete-plugin-recent-searches": "^1.17.0",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue