2017-09-19 14:47:10 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Install NVM for simple node.js version management
|
2018-06-11 22:54:43 +00:00
|
|
|
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
|
2017-09-19 14:47:10 +00:00
|
|
|
|
|
|
|
# This enables NVM without a logout/login
|
|
|
|
export NVM_DIR="/home/vagrant/.nvm"
|
|
|
|
# shellcheck source=/dev/null
|
|
|
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
|
|
|
|
|
|
|
# Install Node, Ember CLI, and Phantom for UI development
|
2019-05-22 18:23:50 +00:00
|
|
|
nvm install 10.15.3
|
|
|
|
nvm alias default 10.15.3
|
2018-06-11 22:54:43 +00:00
|
|
|
npm install -g ember-cli
|
2017-09-19 14:47:10 +00:00
|
|
|
|
|
|
|
# Install Yarn for front-end dependency management
|
2019-04-08 23:54:45 +00:00
|
|
|
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.15.2
|