Created
July 23, 2015 18:05
-
-
Save ndemonner/56df80cd3a09b9c0ad7f to your computer and use it in GitHub Desktop.
Sample Vagrantfile for easy Elixir-based development
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.network "private_network", ip: "192.168.33.10" | |
config.vm.provision "shell", inline: <<-SHELL | |
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb | |
sudo apt-get update | |
sudo apt-get install -y nodejs | |
sudo ln -s `which nodejs` /usr/bin/node | |
sudo apt-get install -y npm | |
sudo apt-get install -y elixir | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment