mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
d6f6e3b58c
add websocket port forward for Vagrant
21 lines
550 B
Ruby
21 lines
550 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
# Original content copyright (c) 2014 dpen2000 licensed under the MIT license
|
|
|
|
VAGRANTFILE_API_VERSION = "2"
|
|
|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
|
|
config.vm.box = "ubuntu/trusty64"
|
|
|
|
config.vm.network "forwarded_port", guest: 3000, host: 3000
|
|
config.vm.network "forwarded_port", guest: 9485, host: 9485
|
|
|
|
config.vm.provision "shell", path: "scripts/vagrant/provision.sh"
|
|
config.vm.provider "virtualbox" do |v|
|
|
v.memory = 2048
|
|
v.cpus = 2
|
|
end
|
|
|
|
end
|