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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Matheus Andrade
October 26, 2013
Programming
58
1
Share
Ambiente de Desenvolvimento RoR com Vagrant
Slides utilizados no Rails Girls Salvador em 25-26 de Outubro de 2013
Matheus Andrade
October 26, 2013
More Decks by Matheus Andrade
See All by Matheus Andrade
Precisamos falar sobre Software Sustentável
matheuslao
0
19
Iracema: Assistente Virtual do Ministério Público da Bahia
matheuslao
0
24
Práticas DevOps no TRT5ª Região
matheuslao
0
29
Dockerizando Ambientes de Desenvolvimento
matheuslao
0
43
Infra Ágil
matheuslao
0
110
Git Básico em 60 minutos
matheuslao
0
120
Orientação a Objetos - Primeiros Passos
matheuslao
0
60
Git: Primeiras Impressões
matheuslao
2
260
Introdução às Metodologias Ágeis de Software
matheuslao
1
100
Other Decks in Programming
See All in Programming
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
460
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
2
210
決定論 vs 確率論:Gemini 3 FlashとTF-IDFを組み合わせた「法規判定エンジン」の構築
shukob
0
170
cloudnative conference 2026 flyle
azihsoyn
1
200
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
5
730
Agentic UI in the Frontend: Architectures with Open Standards @JAX 2026 in Mainz
manfredsteyer
PRO
0
120
ソースコード→AST→オペコード、の旅を覗いてみる
o0h
PRO
1
140
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.7k
UaaL×Androidアプリのメモリ計測 — Memory Profilerの先へ
rio432
0
160
関係性から理解する"同一性"の型用語たち
pvcresin
2
250
KMP × Kotlin 2.3 - How Android Got Slower While iOS Builds Improved by 47%
rio432
0
230
空間オーディオの活用
objectiveaudio
0
160
Featured
See All Featured
Building an army of robots
kneath
306
46k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
Amusing Abliteration
ianozsvald
1
170
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
190
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
160
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
54k
Odyssey Design
rkendrick25
PRO
2
620
Test your architecture with Archunit
thirion
1
2.2k
Automating Front-end Workflow
addyosmani
1370
210k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
540
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