A script to install basic development tools for node (git, node, gcc, pkg-config, etc)
Go to file
Sergio Crisostomo 5379b3b577 add nginx, forever and clone app from github 2015-12-07 22:26:22 +01:00
config-files add nginx, forever and clone app from github 2015-12-07 22:26:22 +01:00
.gitignore Initial commit 2014-12-21 17:10:33 -07:00
LICENSE Initial commit 2014-12-21 17:10:33 -07:00
README.md add nginx, forever and clone app from github 2015-12-07 22:26:22 +01:00
setup-mavericks.bash Update setup-mavericks.bash 2015-01-08 12:05:07 -07:00
setup-raspbian.sh Create setup-raspbian.sh 2015-02-05 09:33:10 -07:00
setup-ubuntu.bash Update setup-ubuntu.bash 2015-01-08 12:00:38 -07:00
setup.bash add nginx, forever and clone app from github 2015-12-07 22:26:22 +01:00

README.md

node-install-script

A script to install basic development tools for node (git, node, gcc, etc)

Works for any recent version of Ubuntu or OS X.

# Specify the version of node to install
echo "v4.2.3" > /tmp/NODE_VER

# Specify the Github url of your app
echo "https://github.com/<user>/<project>" > /tmp/APP_URL

# And install away!
curl -fsSL bit.ly/easy-install-node | bash

For older versions of Ubuntu:

wget -nv bit.ly/easy-install-node -O - | bash

This is what gets installed:

  • fail2ban (not necessary for development, but should be on every server)
  • rsync
  • curl
  • wget
  • git
  • xcode / brew / build-essential / pkg-config / gcc
  • node
  • jshint
  • nginx
  • forever

Screencast

How to Setup a VPS for Node.js Development - (3:06 installing node)

Front-End Extras

These are not installed, but you may wish to use them if you're doing front-end work as well

  • bower
  • uglifyjs
  • yo
  • jade
  • less