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
52
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
24
Práticas DevOps no TRT5ª Região
matheuslao
0
27
Dockerizando Ambientes de Desenvolvimento
matheuslao
0
41
Infra Ágil
matheuslao
0
110
Git Básico em 60 minutos
matheuslao
0
120
Orientação a Objetos - Primeiros Passos
matheuslao
0
52
Git: Primeiras Impressões
matheuslao
2
250
Introdução às Metodologias Ágeis de Software
matheuslao
1
99
Other Decks in Programming
See All in Programming
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
150
Geminiをパートナーに神社DXシステムを個人開発した話(いなめぐDX 開発振り返り)
fujiba
0
110
飯MCP
yusukebe
0
360
CSC307 Lecture 15
javiergs
PRO
0
270
AI活用のコスパを最大化する方法
ochtum
0
340
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
330
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
1.4k
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
1.1k
Claude Code Skill入門
mayahoney
0
440
存在論的プログラミング: 時間と存在を記述する
koriym
5
510
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
4.1k
Codex の「自走力」を高める
yorifuji
0
1.3k
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
0
840
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Technical Leadership for Architectural Decision Making
baasie
3
300
Practical Orchestrator
shlominoach
191
11k
A Tale of Four Properties
chriscoyier
163
24k
AI: The stuff that nobody shows you
jnunemaker
PRO
3
480
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
150
Building an army of robots
kneath
306
46k
Done Done
chrislema
186
16k
Google's AI Overviews - The New Search
badams
0
950
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
160
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
89
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