Created
September 16, 2013 16:57
-
-
Save bakins/6583378 to your computer and use it in GitHub Desktop.
Horrible hack for some local heroku test environments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Vagrant.configure("2") do |config| | |
| config.vm.box = "precise64" | |
| config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
| config.ssh.forward_agent = true | |
| config.vm.provision :shell, :inline => <<EOF | |
| apt-get update | |
| apt-get install -y git-core redis-server curl libssl0.9.8 make g++ | |
| mkdir -p -m 0550 /root/.ssh/ | |
| echo -e "Host *\n\tStrictHostKeyChecking no\n" > ~/.ssh/config | |
| cd /home/vagrant | |
| if [ ! -d heroku-buildpack-nodejs ]; then | |
| git clone https://github.com/heroku/heroku-buildpack-nodejs.git | |
| fi | |
| cd /vagrant | |
| /home/vagrant/heroku-buildpack-nodejs/bin/compile /vagrant | |
| EOF | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment