Commit 5c75ac60c55db9be19de58b0bc2de8616df26dbc
Committed by
Carlos Coêlho
1 parent
556724ef
Exists in
master
and in
30 other branches
Adding a Vagrantfile
Showing
1 changed file
with
25 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,25 @@ | @@ -0,0 +1,25 @@ | ||
| 1 | +#-*- mode: ruby -*- | ||
| 2 | +# vi: set ft=ruby : | ||
| 3 | + | ||
| 4 | +# This will config you local machine | ||
| 5 | +# If you having problem to up check out the README.md | ||
| 6 | +Vagrant.configure(2) do |config| | ||
| 7 | + | ||
| 8 | + config.vm.define "noosfero-dev" | ||
| 9 | + | ||
| 10 | + # This box has already | ||
| 11 | + # - Ruby on Rails 4 | ||
| 12 | + # - NVM with NodeJS v5.9.0 | ||
| 13 | + config.vm.box = "paulohtfs/noosfero-dev" | ||
| 14 | + | ||
| 15 | + # Network configurations | ||
| 16 | + # Check if your host port is available | ||
| 17 | + config.vm.network "forwarded_port", guest: 3000, host: 3000 | ||
| 18 | + config.vm.network "private_network", ip: "10.0.0.15" | ||
| 19 | + | ||
| 20 | + # Change according to you hardware | ||
| 21 | + config.vm.provider "virtualbox" do |vm| | ||
| 22 | + vm.memory = 512; | ||
| 23 | + vm.cpus = 1; | ||
| 24 | + end | ||
| 25 | +end |