Skip to content

Commit

Permalink
Merge pull request #21 from fga-gpp-mds/addNewVagrantBox
Browse files Browse the repository at this point in the history
Change vagrant box
  • Loading branch information
fabio1079 authored Apr 17, 2017
2 parents d7823fd + 7b0bd00 commit b22e589
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ Para rodar a API do aplicativo cadernos localmente basta clonar repositório e e
o seguintes comandos:

```bash
vagrant up
vagrant up mdsgpp
vagrant ssh mdsgpp
```

Após a inicialização da maquina virtual, execulte:

```bash
cd /vagrant
rails s
rails s -b 0.0.0.0
```

Pronto! A API estará disponível em `http://localhost:3000`.
Expand Down
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Vagrant.configure(2) do |config|

config.vm.define "mdsgpp" do |env|
env.vm.box = "fabio1079/xenial-rails5"
env.vm.box = "fabio1079/cadernos-rails"
env.vm.network "forwarded_port", guest: 3000, host: 3000
env.vm.network "forwarded_port", guest: 8000, host: 8000
env.vm.network "forwarded_port", guest: 8080, host: 8080
Expand Down

0 comments on commit b22e589

Please sign in to comment.