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
190
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
150
A evolução do programador
rafaelcpalmeida
0
320
Aquilo que deverias saber quando acabas a licenciatura
rafaelcpalmeida
0
190
Other Decks in Technology
See All in Technology
Android Audio: Beyond Winning On It
atsushieno
0
2.4k
【NoMapsTECH 2025】AI Edge Computing Workshop
akit37
0
220
機械学習を扱うプラットフォーム開発と運用事例
lycorptech_jp
PRO
0
560
Generative AI Japan 第一回生成AI実践研究会「AI駆動開発の現在地──ブレイクスルーの鍵を握るのはデータ領域」
shisyu_gaku
0
310
La gouvernance territoriale des données grâce à la plateforme Terreze
bluehats
0
190
なぜスクラムはこうなったのか?歴史が教えてくれたこと/Shall we explore the roots of Scrum
sanogemaru
5
1.6k
AI時代を生き抜くエンジニアキャリアの築き方 (AI-Native 時代、エンジニアという道は 「最大の挑戦の場」となる) / Building an Engineering Career to Thrive in the Age of AI (In the AI-Native Era, the Path of Engineering Becomes the Ultimate Arena of Challenge)
jeongjaesoon
0
210
LLMを搭載したプロダクトの品質保証の模索と学び
qa
0
1.1k
要件定義・デザインフェーズでもAIを活用して、コミュニケーションの密度を高める
kazukihayase
0
120
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.8k
dbt開発 with Claude Codeのためのガードレール設計
10xinc
2
1.3k
AWSを利用する上で知っておきたい名前解決のはなし(10分版)
nagisa53
10
3.2k
Featured
See All Featured
Making Projects Easy
brettharned
117
6.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
KATA
mclloyd
32
14k
Visualization
eitanlees
148
16k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.6k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.2k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.1k
Building an army of robots
kneath
306
46k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
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 ☕