update node requirement to 16

This commit is contained in:
HF 2022-10-02 00:56:37 +02:00
parent 647126ca4b
commit 693a403460
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ Click or tab: Place Pixel
## Build
### Requirements
- [nodejs environment](https://nodejs.org/en/)
- [nodejs environment](https://nodejs.org/en/) (>=16)
- Linux or WSL if you want to be safe (we do not build on Windows and therefor can't guarantee that it will work there)
### Building
@ -57,7 +57,7 @@ git config --global url.https://github.com/.insteadOf git://github.com/
## Run
### Requirements
- nodejs environment with [npm](https://www.npmjs.com/get-npm)
- nodejs environment with [npm](https://www.npmjs.com/get-npm) (>=16)
- [pm2](https://github.com/Unitech/pm2) (`npm install -g pm2`) as process manager and for logging
- [redis](https://redis.io/) as database for storìng the canvas
- mysql or mariadb ([setup own user](https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql) and [create database](https://www.w3schools.com/SQl/sql_create_db.asp) for pixelplanet) for storing additional data like IP blacklist

View File

@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"engines": {
"node": ">=14"
"node": ">=16"
},
"description": "Unlimited planet canvas for placing pixels",
"main": "server.js",