mirror of
https://github.com/jcwimer/railsVagrant
synced 2026-03-25 02:44:44 +00:00
Moved rvm setup to provisioning
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install nodejs -y
|
||||
sudo apt-get install curl -y
|
||||
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
|
||||
\curl -sSL https://get.rvm.io | bash -s stable --rails
|
||||
echo "source $HOME/.rvm/scripts/rvm" >> /home/vagrant/.bashrc
|
||||
sudo apt-get install git-core -y
|
||||
#!/usr/bin/env bash
|
||||
apt-get update
|
||||
apt-get install nodejs nodejs-legacy npm curl git -y
|
||||
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
|
||||
cd /vagrant/setup
|
||||
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.10.deb
|
||||
sudo dpkg -i elasticsearch-0.90.10.deb
|
||||
rm elasticsearch-0.90.10.deb
|
||||
|
||||
#Docker install
|
||||
curl -sSL https://get.docker.com/ | sh
|
||||
usermod -aG docker vagrant
|
||||
curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose-`uname -s`-`uname -m` > docker-compose
|
||||
mv docker-compose /usr/local/bin/
|
||||
chmod +x /usr/local/bin/docker-compose
|
||||
Reference in New Issue
Block a user