-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
23 lines (19 loc) · 913 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "hashicorp/precise64"
# By default, running 'python app.py' will create a server for the app,
# which can be accessed at localhost:8080.
#
# Therefore, We specify a guest port number that is not 80 to
# avoid conflicting with the Python app.
config.vm.network "forwarded_port", guest: 8080, host: 8080, host_ip: "127.0.0.1"
# This allows the project files to appear in the virtual machine,
# located at the directory '/home/vagrant/csmodify'.
config.vm.synced_folder ".", "/home/vagrant/csmodify"
# Enable provisioning with a shell script, which can be found in
# 'vagrant_setup/bootstrap.sh'.
config.vm.provision :shell, :path => "vagrant_setup/bootstrap.sh"
end