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
Vagrant: o que é e porque deverias estar a usar
Search
Rafael Almeida
May 29, 2016
Technology
0
180
Vagrant: o que é e porque deverias estar a usar
Rafael Almeida
May 29, 2016
Tweet
Share
More Decks by Rafael Almeida
See All by Rafael Almeida
Segurança nos emails
rafaelcpalmeida
0
140
A evolução do programador
rafaelcpalmeida
0
300
Aquilo que deverias saber quando acabas a licenciatura
rafaelcpalmeida
0
180
Other Decks in Technology
See All in Technology
250627 関西Ruby会議08 前夜祭 RejectKaigi「DJ on Ruby Ver.0.1」
msykd
PRO
2
370
Tech-Verse 2025 Keynote
lycorptech_jp
PRO
0
1.3k
fukabori.fm 出張版: 売上高617億円と高稼働率を陰で支えた社内ツール開発のあれこれ話 / 20250704 Yoshimasa Iwase & Tomoo Morikawa
shift_evolve
PRO
1
210
本が全く読めなかった過去の自分へ
genshun9
0
710
KubeCon + CloudNativeCon Japan 2025 Recap Opening & Choose Your Own Adventureシリーズまとめ
mmmatsuda
0
230
WordPressから ヘッドレスCMSへ! Storyblokへの移行プロセス
nyata
0
340
強化されたAmazon Location Serviceによる新機能と開発者体験
dayjournal
3
260
Oracle Cloud Infrastructure:2025年6月度サービス・アップデート
oracle4engineer
PRO
2
310
Should Our Project Join the CNCF? (Japanese Recap)
whywaita
PRO
0
290
ハッカソン by 生成AIハッカソンvol.05
1ftseabass
PRO
0
150
LangChain Interrupt & LangChain Ambassadors meetingレポート
os1ma
2
220
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
3
940
Featured
See All Featured
A designer walks into a library…
pauljervisheath
207
24k
Building Applications with DynamoDB
mza
95
6.5k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Building Adaptive Systems
keathley
43
2.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Documentation Writing (for coders)
carmenintech
72
4.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
Transcript
Olá
Rafael Almeida Web Developer @ IfthenPay /rafaelcpalmeida /rafaelcpalmeida /rafaelcpalmeida
Vagrant O que é e porque deverias estar a usar
None
Desenvolvimento Web
None
None
Procedimentos a ter • Instalar e configurar o XAMPP •
Arrancar o serviço • Criar os ficheiros dentro da /htdocs • Programar
É top, não é?
Não, não é.
Não?!
Não!
Devias usar Vagrant!
Mas afinal… … o que é o Vagrant?!
O Vagrant… • Permite gerir e controlar várias máquinas virtuais
• Funciona sobre VirtualBox e afins • Permite criar ambientes de desenvolvimento isolados (Boxes)
Epá, porreiro Mas porque é que devo trocar pelo *AMP?
Fácil!
O Vagrant é simples
Boxes
Vagrant File
vagrant up
As boxes no Vagrant… • São sistemas independentes e isolados
do hospedeiro • Permitem preparar facilmente um sistema de desenvolvimento para ser distribuído • São altamente configuráveis
Existem boxes para…
LAMP Stack
MEAN Stack
Ótimo! Mas como é que eu uso?!
Fácil! Só precisas de 3 passos
Vais ao repositório da Scotch Box Há outras boxes, eu
recomendo esta :)
Clonas para o directório pretendido
Pelo Terminal fazes vagrant up
E pronto, já está.
Já?!
Sim, basta visitares 192.168.33.10
Não queres ter o IP na barra de endereços?
Easy peasy
Alteras o ficheiro hosts e apontas o domínio que queres
para o IP da Box
Agora podes aceder a vagrant.dev
‘Tás pronto a usar Vagrant
Ainda não se fez luz? Queres mais exemplos de utilidade
do Vagrant?
O Vagrant é útil para…
… trabalho em equipa. Deixa de haver problemas entre equipas
com diferentes sistemas operativos
… administradores de sistemas. Para testarem as suas configurações e
scripts em ambientes semelhantes aos em produção.
… programadores testarem as aplicações em diferentes ambientes. Programadores de
PHP que querem experimentar o PHP 7.
Já podes começar a tua aventura com Vagrant
None
Obrigado. Até ao coffee break ☕