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
40
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
8
Iracema: Assistente Virtual do Ministério Público da Bahia
matheuslao
0
12
Práticas DevOps no TRT5ª Região
matheuslao
0
22
Dockerizando Ambientes de Desenvolvimento
matheuslao
0
29
Infra Ágil
matheuslao
0
93
Git Básico em 60 minutos
matheuslao
0
110
Orientação a Objetos - Primeiros Passos
matheuslao
0
43
Git: Primeiras Impressões
matheuslao
2
230
Introdução às Metodologias Ágeis de Software
matheuslao
1
84
Other Decks in Programming
See All in Programming
slow types ってなんだろう?
karad
0
200
TypeScriptから始める VR生活
tamagokakeg
2
100
Effectで作る堅牢でスケーラブルなAPIゲートウェイ / Robust and Scalable API Gateway Built on Effect
yasaichi
7
1.2k
TypeScriptのパフォーマンス改善
yajihum
12
4.7k
Timeline エディター拡張入門
yucchiy
0
430
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
4
600
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
690
Powerfully Typed TypeScript
euxn23
3
830
CDKコントリビュートの最初の壁を越えよう! -簡単issueの見つけ方-
badmintoncryer
3
400
Jetpack Composeとデザインシステム
rmakiyama
0
210
TSKaigi 2024 - 新サービス Progate Path の演習で TypeScript を採用して見えた教材観点からの利点と課題
makotoshimazu
1
200
Escolhendo (ou não) o melhor ORM para o seu projeto
andreiacsilva
1
120
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
15
1.6k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Build your cross-platform service in a week with App Engine
jlugia
226
17k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Web development in the modern age
philhawksworth
203
10k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.5k
The Art of Programming - Codeland 2020
erikaheidi
43
12k
RailsConf 2023
tenderlove
9
580
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