mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
15 lines
451 B
Text
15 lines
451 B
Text
|
# See https://github.com/discourse/core/blob/master/DEVELOPMENT.md
|
||
|
#
|
||
|
Vagrant::Config.run do |config|
|
||
|
config.vm.box = 'discourse-pre'
|
||
|
config.vm.box_url = 'http://www.discourse.org/vms/discourse-pre.box'
|
||
|
config.vm.network :hostonly, '192.168.10.200'
|
||
|
|
||
|
config.vm.forward_port 3000, 4000
|
||
|
config.vm.forward_port 1080, 4080 # Mailcatcher
|
||
|
|
||
|
if RUBY_PLATFORM =~ /darwin/
|
||
|
config.vm.share_folder("v-root", "/vagrant", ".", :nfs => true)
|
||
|
end
|
||
|
end
|