diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9499dec --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +.PHONY: configure +configure: + ./scripts/configure +install: + yarn diff --git a/scripts/configure b/scripts/configure new file mode 100755 index 0000000..9a8f055 --- /dev/null +++ b/scripts/configure @@ -0,0 +1,10 @@ +#!/bin/bash + +export NODE_VERSION=8.10.0 + +echo "Configure - start" +curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash && \ +source ~/.bashrc && \ +nvm install $NODE_VERSION && \ +npm install -g yarn && \ +echo "Configure - done"