Standard node.js Template



    1. Install the node.js
      sudo snap install node --classic --channel=10/stable
    2. Download files and install it.
      sudo mkdir /var/scripts
      cd /var/scripts
      wget https://raw.githubusercontent.com/U-siro/pufferd-stdnodejs/master/install.sh
      wget https://raw.githubusercontent.com/U-siro/pufferd-stdnodejs/master/start.sh
      cd /var/lib/pufferd/templates
      wget https://raw.githubusercontent.com/U-siro/pufferd-stdnodejs/master/stdNodejs.json
      Done! You can start use it. You can run npm install using install button, and You can run node server.js using start button.
      Unfortunally, Stop and Kill isn't working. but You can fix it by handling signals.

 

1
Online

833
Users

849
Topics

3.6k
Posts