Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Ambiente de Desenvolvimento RoR com Vagrant
Search
Matheus Andrade
October 26, 2013
Programming
1
47
Ambiente de Desenvolvimento RoR com Vagrant
Slides utilizados no Rails Girls Salvador em 25-26 de Outubro de 2013
Matheus Andrade
October 26, 2013
Tweet
Share
More Decks by Matheus Andrade
See All by Matheus Andrade
Precisamos falar sobre Software Sustentável
matheuslao
0
17
Iracema: Assistente Virtual do Ministério Público da Bahia
matheuslao
0
22
Práticas DevOps no TRT5ª Região
matheuslao
0
25
Dockerizando Ambientes de Desenvolvimento
matheuslao
0
40
Infra Ágil
matheuslao
0
100
Git Básico em 60 minutos
matheuslao
0
120
Orientação a Objetos - Primeiros Passos
matheuslao
0
51
Git: Primeiras Impressões
matheuslao
2
250
Introdução às Metodologias Ágeis de Software
matheuslao
1
96
Other Decks in Programming
See All in Programming
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
120
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
250
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
400
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
520
dchart: charts from deck markup
ajstarks
3
970
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
Oxlintはいいぞ
yug1224
5
1.1k
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
160
Patterns of Patterns
denyspoltorak
0
1.3k
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
420
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
660
Fragmented Architectures
denyspoltorak
0
140
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
410
How GitHub (no longer) Works
holman
316
140k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
270
Getting science done with accelerated Python computing platforms
jacobtomlinson
1
100
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.9k
Into the Great Unknown - MozCon
thekraken
40
2.2k
The Spectacular Lies of Maps
axbom
PRO
1
460
Google's AI Overviews - The New Search
badams
0
890
Are puppies a ranking factor?
jonoalderson
1
2.6k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
230
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
270
Transcript
Ambiente de Desenvolvimento com Vagrant Pequeno Passo-a-Passo Rails Girls Salvador:
25-26 de Outubro de 2013 http://railsgirls.com/salvador
Instalando o VirtualBox http://www.virtualbox.org/wiki/Downloads* * offline: pegar com o monitor
Instalando o Vagrant downloads.vagrantup.com* * offline: pegar com o monitor
Se você usa Windows... Putty - (www.putty.org) Download de*: •
Putty; • PuttyGen * offline: pegar com o monitor
BOX do Ruby on Rails https://github.com/rails/rails-dev-box Se tem Git instalado:
git clone Senão: Download ZIP Más já preparamos uma box offline redondinha!
Box do Ruby on Rails Pegar a box: railsgirls.box com
os monitores $ vagrant box add railsgirls /path/to/railsgirls.box $ mkdir <meu-projeto> $ cd <meu-projeto> $ vagrant init railsgirls
Box do Ruby on Rails Linha 22-23 do Vagrantfile: config.vm.network
:forwarded_port, guest: 3000, host: 3000
Executando nosso Ambiente Virtual No terminal (Mac, Linux) ou no
Windows Power Shell: • cd <projeto> • vagrant up Primeira vez pode demorar um pouco!
Ajuda com Comandos Vagrant box, destroy, init, reload, resume…. $
vagrant help $ vagrant <comando> -h
Conexão SSH Mac e Linux é fácil! $ vagrant ssh
Se você usa Windows... Abra o PuttyGen Clique em “Load”
C:/Users/<seuUsuario>/.vagrant.d/insecure_private_key Clique em “Open”
Se você usa Windows... Aperte “OK” Clique em “Save private
Key” Clique em “Yes” Salve o arquivo “vagrant.ppk” no mesmo local do “insecure_private_key”
SSH com o Windows Lembram do Putty? Host: 127.0.0.1 Porta:
2222* * Se você utilizar muitas máquinas virtuais, o valor pode ser outro
SSH com Windows Selecione: Connection > SSH > Auth Clique
em “Browse” Selecione o arquivo “vagrant.ppk”. Lembra dele? (C:/Users/<seuUsuario>/.vagrant.d/vagrant.ppk)
SSH no Windows Selecione “Session” e salve suas configurações Clique
em “Open” Clique em “Yes” Se aparecer “login as:”, digite vagrant PRONTO!
Referências http://docs.vagrantup.com/v2/getting-started/index.html http://simplesideias.com.br/usando-o-vagrant-como-ambiente-de- desenvolvimento-no-windows https://github.com/rails/rails-dev-box
None