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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Rafael Almeida
May 29, 2016
Technology
0
220
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
180
A evolução do programador
rafaelcpalmeida
0
370
Aquilo que deverias saber quando acabas a licenciatura
rafaelcpalmeida
0
220
Other Decks in Technology
See All in Technology
S3はフラットである –AWS公式SDKにも存在した、 署名付きURLにおけるパストラバーサル脆弱性– / JAWS DAYS 2026
flatt_security
0
1.8k
AI実装による「レビューボトルネック」を解消する仕様駆動開発(SDD)/ ai-sdd-review-bottleneck
rakus_dev
0
150
AI時代のSaaSとETL
shoe116
1
180
アーキテクチャモダナイゼーションを実現する組織
satohjohn
1
1.1k
スクリプトの先へ!AIエージェントと組み合わせる モバイルE2Eテスト
error96num
0
180
ソフトバンク流!プラットフォームエンジニアリング実現へのアプローチ
sbtechnight
1
180
AWS CDK「読めるけど書けない」を脱却するファーストステップ
smt7174
3
170
VPCエンドポイント意外とお金かかるなぁ。せや、共有したろ!
tommy0124
1
680
今のWordPress の制作手法ってなにがあんねん?(改) / What’s the Deal with WordPress Development These Days?
tbshiki
0
500
猫でもわかるKiro CLI(AI 駆動開発への道編)
kentapapa
0
250
楽しく学ぼう!ネットワーク入門
shotashiratori
4
3.4k
非情報系研究者へ送る Transformer入門
rishiyama
13
8.3k
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.7k
30 Presentation Tips
portentint
PRO
1
250
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
760
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
230
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.3k
Site-Speed That Sticks
csswizardry
13
1.1k
Between Models and Reality
mayunak
2
240
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
120
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 ☕