Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vagrant/frontend] Fix 'npm install'. #10

Merged
merged 1 commit into from
Jan 11, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"