-
Notifications
You must be signed in to change notification settings - Fork 2
/
Vagrantfile
27 lines (21 loc) · 937 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "devfort-ubuntu"
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
# config.vm.box_url = "http://domain.com/path/to/above.box"
config.vm.network :forwarded_port, guest: 8000, host: 8000
# Create a private network, which allows host-only access to the machine
# using a specific IP.
config.vm.network :private_network, ip: "192.168.33.10"
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network :public_network
config.vm.synced_folder ".", "/vagrant", nfs: true
config.vm.provision :shell, :inline => <<END
apt-get update
apt-get install --yes python-virtualenv python-pip python-dev libpq-dev postgresql-9.1
END
end