Commit 77b939f7 authored by Adam Mulvany's avatar Adam Mulvany
Browse files

First commit

parent 30278755
......@@ -14,9 +14,7 @@ i.e.
`VERSION=9.1.1 EDITION="ee" vagrant up`
The application will be available on http://localhost:version}
i.e. Version 9.1.1 will accessible from https://localhost:911 on the host.
The application will be available on http://localhost:version}. If the port is 3 digits and another 0, i.e. Version 9.1.1 will accessible from https://localhost:9110 on the host.
#### Cleanup
......
......@@ -4,10 +4,12 @@
ver = ENV['VERSION']
lic = ENV['EDITION'].downcase
get_package = "curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-#{lic}/script.deb.sh | sudo bash"
host_port = ver.gsub(/[\.]/,"") + "0"
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.network "forwarded_port", guest: 80, host: ver.gsub(/[\.]/,"")
config.vm.network "forwarded_port", guest: 80, host: host_port[0..4],
auto_correct: true
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment