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
220
0
Share
Vagrant: o que é e porque deverias estar a usar
Rafael Almeida
May 29, 2016
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
230
Other Decks in Technology
See All in Technology
シン・リスコフの置換原則 〜現代風に考えるSOLIDの原則〜
jinwatanabe
0
150
"まず試す"ためのDatabricks Apps活用法 / Databricks Apps for Early Experiments and Validation
nttcom
1
210
申請待ちゼロへ!AWS × Entra IDで実現した「権限付与」のセルフサービス化
mhrtech
1
110
不確実性と戦いながら見積もりを作成するプロセス/mitsumori-process
hirodragon112
1
200
サイバーフィジカル社会とは何か / What Is a Cyber-Physical Society?
ks91
PRO
0
150
ある製造業の会社全体のAI化に1エンジニアが挑んだ話
kitami
2
210
Cortex Code君、今日から内製化支援担当ね。
coco_se
0
300
【PHPカンファレンス小田原2026】Webアプリケーションエンジニアにも知ってほしい オブザーバビリティ の本質
fendo181
0
370
2026年度新卒技術研修 サイバーエージェントのデータベース 活用事例とパフォーマンス調査入門
cyberagentdevelopers
PRO
4
5.5k
ふりかえりがなかった職能横断チームにふりかえりを導入してみて学んだこと 〜チームのふりかえりを「みんなで未来を考える場」にするプロローグ設計〜
masahiro1214shimokawa
0
240
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
1.4k
ストライクウィッチーズ2期6話のエイラの行動が許せないのでPjMの観点から何をすべきだったのかを考える
ichimichi
1
300
Featured
See All Featured
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
360
The Pragmatic Product Professional
lauravandoore
37
7.2k
The Invisible Side of Design
smashingmag
302
51k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
430
Faster Mobile Websites
deanohume
310
31k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
160
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
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 ☕