Software

  • managing your node processes with pm2

    Keeping multiple node.js applications online on your own dedicated server is quite uncomfortable if you just run them directly from terminal. Luckily there is a very handy module for node called PM2. PM2 allows you amongst other things to create startup script for each of your node apps (with parameters, port etc) run the scripts […]

    Continue reading
  • automatic restart of node.js apps via git commit messages

    When updating our node.js applications we usually had to login on the webserver, pull the updates from git and restart the server. To make this easier we decided to write a git hook that would automate the process. The following scripts work in combination with gitlab and pm2. They will pull from git if you […]

    Continue reading