From 07abf9cdf1c9d6b24bbd099a539ca62b9040a1cc Mon Sep 17 00:00:00 2001
From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl>
Date: Sun, 12 Mar 2017 05:13:35 +0100
Subject: [PATCH] moar

---
 README.md           |  2 ++
 nodejs4/README.md   |  8 ++++++++
 nodejs4/Vagrantfile | 20 ++++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 100644 nodejs4/README.md
 create mode 100644 nodejs4/Vagrantfile

diff --git a/README.md b/README.md
index bc229dd..f154e75 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 0000000..c96c00b
--- /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 0000000..063d4ee
--- /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
-- 
GitLab