Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Vagrant: o que é e porque deverias estar a usar
Search
Rafael Almeida
May 29, 2016
Technology
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vagrant: o que é e porque deverias estar a usar
Rafael Almeida
May 29, 2016
Transcript
46 slides
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 ☕
More Decks by Rafael Almeida
See All by Rafael Almeida
Segurança nos emails
rafaelcpalmeida
0
220
A evolução do programador
rafaelcpalmeida
0
400
Aquilo que deverias saber quando acabas a licenciatura
rafaelcpalmeida
0
270
Other Decks in Technology
See All in Technology
AWS DevOps Agentの構造から読み解く運用 AI エージェントの設計原則/aws-devops-agent-design-principles
tomoki10
0
340
Well, that’s weird…
csswizardry
3
270
事業を理解して技術を選ぶ〜TechLeadは何を学び、どう考えるべきか QA スライド/understand-the-business-then-choose-the-technology-qa
haru860
0
120
不具合データを用いたプロダクトコードの弱点可視化
tarappo
6
420
Platform Engineering をベースとした Agentic Software Factory の実践
110y
3
1.1k
ワークフローからハーネスへ — Web フレームワークの作者たちが AI エージェントに向かう理由
azukiazusa1
4
4.2k
Vite+に全部賭けろ
yamato0713
0
170
現地速報! Microsoft Ignite アップデートレポート
kasada
1
750
AIフレンドリーなGenerative UIをJSXで
uhyo
3
1.2k
デザインシステムのフィードバックループをほぼ自動化した話
tongari07
1
1.5k
AWS初心者のAIエンジニアが、 論文サーベイエージェントを AgentCoreで動かしてみた
dirard12
0
110
DevOps Agent に Athena で アカウント横断の調査をさせてみた + Config の高度なクエリ便利だよ!って話 / #opsmethod 6
masahirokawahara
0
110
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
6.4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
650
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
6
980
Prompt Engineering for Job Search
mfonobong
0
620
Into the Great Unknown - MozCon
thekraken
41
2.8k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
エンジニアに許された特別な時間の終わり
watany
109
250k
Odyssey Design
rkendrick25
PRO
3
980
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
350
First, design no harm
axbom
PRO
2
1.4k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
540