forked from ppfun/pixelplanet
update node requirement to 16
This commit is contained in:
parent
647126ca4b
commit
693a403460
|
@ -24,7 +24,7 @@ Click or tab: Place Pixel
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
### Requirements
|
### 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)
|
- 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
|
### Building
|
||||||
|
@ -57,7 +57,7 @@ git config --global url.https://github.com/.insteadOf git://github.com/
|
||||||
|
|
||||||
## Run
|
## Run
|
||||||
### Requirements
|
### 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
|
- [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
|
- [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
|
- 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
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14"
|
"node": ">=16"
|
||||||
},
|
},
|
||||||
"description": "Unlimited planet canvas for placing pixels",
|
"description": "Unlimited planet canvas for placing pixels",
|
||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user