Install Node.js with NVM

Introduction NVM (Node Version Manager) is a great tool that enables the user to switch beetween differents versions of Node.js. Here's a quick introduction on how to install, use it and take advantage of all its features. Fist step : setting up NVM As explained in the Readme file from NVM source repository => https://github.com/creationix/nvm, you will have to launch the install script using curl : $ curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash or Wget : $…

author

Alexandre Strzelewicz

PM2: Ghost workflow

Make Ghost more easy to deploy Work on local, deploy on production For only 5$ per month you will get fast server. Digitalocean with Ubuntu droplet. $ curl -L https://ghost.org/zip/ghost-latest.zip -o ghost.zip $ unzip -uo ghost.zip -d ghost $ cd /path/to/ghost $ npm install --production $ npm install pm2 -g $ pm2 ecosystem $ edit file $ create a remote git filesystem and $ git init $ git add . $ git commit -am "first ghost" $ git push origin master $ edit config.js file $ on remote $ ln -s fi…

author

Alexandre Strzelewicz

PM2 0.10 release

We did it! After many contributions, bug reports and intensive internal usage, PM2 has been upgraded to the 0.10! Process Manager 2, but what's new ? Automatic restart on memory limit Automatic restart based on reached memory limit. Excuse my French but it simply means that your app will be automatically restarted at a certain amount of memory. $ pm2 start app.js --max-memory-restart=100 This command will restart the app.js if it reaches more than 100mb. PM2 heart code refactored The heart code…

author

Alexandre Strzelewicz

Start monitoring your application in less than a minute

TAKE A TOUR