diff --git a/README.md b/README.md index 2f4766f..df7a3d3 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # hcpp-nodeapp A plugin for Hestia Control Panel (via [hestiacp-pluginable](https://github.com/virtuosoft-dev/hestiacp-pluginable)) that enables hosting generic NodeJS based applications with control via [PM2 (Process Manager)](https://pm2.keymetrics.io). With this plugin installed, user accounts can host their own NodeJS applications. A simple [Hello World! ExpressJS application](https://expressjs.com/en/starter/hello-world.html) is included as the default NodeApp application. [NVM (NodeJS Version Manager)](https://github.com/nvm-sh/nvm) is also included and the default PM2 configuration file will automatically select the proper NodeJS version based on the simple .nvmrc file. Long term support NodeJS versions that are automatically installed with this plugin include: -* Fermium v14 * Gallium v16 * Hydrogen v18 +* Iron v20   ## Installation diff --git a/install b/install index 3757b90..6c2aed5 100755 --- a/install +++ b/install @@ -17,7 +17,7 @@ curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash source ~/.bashrc # Initial install of NodeJS (20.6.1 is an LTS version) -nvm install 20.6.1 +nvm install v20 npm install -g npm@latest # Install node version manager, globally @@ -29,9 +29,9 @@ export NVM_DIR="/opt/nvm" export PATH="/opt/nvm:$PATH" # Install last three NodeJS LTS versions -nvm install 16.20.2 -nvm install 18.17.1 -nvm alias default 20.6.1 +nvm install v16 +nvm install v18 +nvm alias default v20 # Install grunt, pm2 globally for all versions