1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

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.
This commit is contained in:
vjackson725 2017-01-08 12:38:04 +11:00
parent cec7e69827
commit db3d5d811c

5
Vagrantfile vendored
View file

@ -5,6 +5,10 @@ $provision = <<SCRIPT
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
sudo apt-add-repository ppa:brightbox/ruby-ng
@ -33,6 +37,7 @@ sudo apt-get install \
redis-tools \
postgresql \
postgresql-contrib \
yarn \
-y
# Set Ruby 2.3 as 'ruby'