Files
habitica/vagrant_scripts/install_node.sh
Matteo Pagliazzi 99f50f825a Old Client Cleanup (#9141)
* move emails images to website/static/emails and remove old files

* remove old client tests

* remove more files

* add sprites back

* cleanup gulp

* cleanup gulp

* remove old files

* more fixes

* pin bootstrap-vue

* disable old test

* remove old tasks

* fix apidoc
2017-10-12 16:44:28 +02:00

23 lines
567 B
Bash

#!/bin/bash
echo Installing nvm...
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | NVM_DIR="/home/vagrant/.nvm" PROFILE="/home/vagrant/.profile" bash
echo "source /home/vagrant/.nvm/nvm.sh" >> /home/vagrant/.profile
echo "nvm install" >> /home/vagrant/.profile
chown -R vagrant:vagrant /home/vagrant/.nvm
source /home/vagrant/.profile
echo Setting up node...
cd /vagrant
nvm install
nvm use
nvm alias default current
echo Update npm...
npm install -g npm@4
echo Installing global modules...
npm install -g gulp mocha node-pre-gyp