diff --git a/README.md b/README.md index bc229dd8e3f54d6752f3e597a912194110e649db..f154e75ea2637b7d112b8350f816a1fa1ab0dd41 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,6 @@ Click on particular boxes to see description and how to use: * [Sun Java 8 + Cassandra](/cassandra) * [Cassandra + ZooKeeper + RabbitMQ](/cass_zk_rmq) * [Cassandra + ZooKeeper + RabbitMQ + Python](/czr_pythons) +* [NodeJS 4.x + bower + gulp](/nodejs4) + diff --git a/nodejs4/README.md b/nodejs4/README.md new file mode 100644 index 0000000000000000000000000000000000000000..c96c00b5243fa6472e40e605e5eb24b994ea73c8 --- /dev/null +++ b/nodejs4/README.md @@ -0,0 +1,8 @@ +# nodejs4 + +* NodeJS 4.x +* bower +* gulp +* git +* build-essential +* curl diff --git a/nodejs4/Vagrantfile b/nodejs4/Vagrantfile new file mode 100644 index 0000000000000000000000000000000000000000..063d4ee5e5b1dc42d4d0cd3c4282ea1c2b1a77f5 --- /dev/null +++ b/nodejs4/Vagrantfile @@ -0,0 +1,20 @@ + +Vagrant.configure("2") do |config| + config.vm.box = "debian/contrib-jessie64" + + config.vm.provision "shell", inline: <<-SHELL + apt-get update + apt-get install -y curl git build-essential unzip # Common utilies + + curl -sL https://deb.nodesource.com/setup_4.x | bash - + apt-get install -y nodejs + npm cache clean + npm install -g --unsafe-perm bower gulp + + # Minify + apt-get clean + dd if=/dev/zero of=/EMPTY bs=1M + rm -f /EMPTY + + SHELL +end