Skip to content

Instantly share code, notes, and snippets.

@mmzeeman
Created March 3, 2013 19:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mmzeeman/5077864 to your computer and use it in GitHub Desktop.
Save mmzeeman/5077864 to your computer and use it in GitHub Desktop.
Vagrantfile to set up a zotonic development environment.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
# config.vm.boot_mode = :gui
config.vm.host_name = "zotonic-dev"
# Simple provisioning for a working zotonic setup
config.vm.provision :shell, :inline => "apt-get -y update"
config.vm.provision :shell, :inline => "apt-get -y install ack-grep build-essential git vim"
config.vm.provision :shell, :inline => "apt-get -y install imagemagick postgresql-9.1 postgresql-client-9.1"
config.vm.provision :shell, :inline => "apt-get -y install erlang-base erlang-tools erlang-parsetools erlang-inets erlang-ssl erlang-eunit erlang-dev"
# Forwarding port 8000, 8443, 2525
config.vm.forward_port 8000, 8000
config.vm.forward_port 8443, 8443
config.vm.forward_port 2525, 2525
config.vm.customize ["modifyvm", :id,
"--memory", 1024]
end
@kaos
Copy link

kaos commented May 22, 2013

was missing erlang-xmerl...
so I installed the erlang package instead, assuming I got the lot, instead..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment