Skip to content

Commit

Permalink
Merge pull request #10 from /issues/8-npm-windows
Browse files Browse the repository at this point in the history
[vagrant/frontend] Fix 'npm install'.
  • Loading branch information
TheBirdie committed Jan 11, 2016
2 parents 101c80e + d4c02e0 commit f46b44f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions vagrant_bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,19 @@ sudo apt-get -yqq install git python3-pip python-dev libmysqlclient-dev libjpeg-

cd /vagrant/backend
echo 'Installing pip dependencies...'
sudo pip3 install -r requirements.txt
sudo pip3 install -r requirements/dev.txt
sudo pip3 install -r requirements/prod.txt
echo "Running migrations..."
python3 manage.py migrate

cd /vagrant/frontend
# Remove old modules from previous install / host machine
sudo rm -rf node_modules
sudo npm install -g tsd gulp
npm install --loglevel=info
sudo -H -u vagrant npm install --loglevel=info

echo ""
echo "Vagrant install complete."
echo "Now try logging in:"
echo " $ vagrant ssh"

0 comments on commit f46b44f

Please sign in to comment.