Browse Source

Fix Vagrantfile to include yarn

The current Vagrantfile fails to build upon provisioning, as it lacks yarn.

Change the Vagrantfile to add the yarn repository, and install yarn.
closed-social-glitch-2
vjackson725 7 years ago
parent
commit
db3d5d811c
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      Vagrantfile

+ 5
- 0
Vagrantfile View File

@ -5,6 +5,10 @@ $provision = <
cd /vagrant # This is where the host folder/repo is mounted cd /vagrant # This is where the host folder/repo is mounted
# Add the yarn repo + yarn repo keys
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
sudo apt-add-repository 'deb https://dl.yarnpkg.com/debian/ stable main'
# Add repo for Ruby 2.3 binaries # Add repo for Ruby 2.3 binaries
sudo apt-add-repository ppa:brightbox/ruby-ng sudo apt-add-repository ppa:brightbox/ruby-ng
@ -33,6 +37,7 @@ sudo apt-get install \
redis-tools \ redis-tools \
postgresql \ postgresql \
postgresql-contrib \ postgresql-contrib \
yarn \
-y -y
# Set Ruby 2.3 as 'ruby' # Set Ruby 2.3 as 'ruby'

Loading…
Cancel
Save