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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
190
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
Scovilleモバイルエンジニア募集中.pdf
julienrudin
0
130
260422_Sansan_Tech_Talk__関西_vol.3_データ活用のリアル__矢田__.pdf
sansantech
PRO
0
140
コードや知識を組み込む / Incorporate Code and Knowledge
ks91
PRO
0
180
AIが書いたコードを信じられない問題 〜レビュー負荷を下げるために変えたこと〜 / The AI Code Trust Gap: Reducing the Review Burden
bitkey
PRO
8
1.4k
揺るがないAIを開発するためのアノテーション設計
sansantech
PRO
1
100
Good Enough Types: Heuristic Type Inference for Ruby
riseshia
1
360
Forget technical debt
ufried
0
120
AIコーディング時代における、ソフトウェアサプライチェーン攻撃に対する防衛術(簡易版)
soysoysoyb
0
190
Practical TypeProf: Lessons from Analyzing Optcarrot
mame
1
1.5k
ハーネスエンジニアリングをやりすぎた話 ~そのハーネスは解体された~
gotalab555
5
1.9k
AIが盛んな時代に 技術記事を書き始めて起きた私の中での小さな変化
peintangos
0
320
Chasing Real-Time Observability for CRuby
whitegreen
0
480
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.7k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Accessibility Awareness
sabderemane
1
110
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
320
Ethics towards AI in product and experience design
skipperchong
2
260
Believing is Seeing
oripsolob
1
120
Documentation Writing (for coders)
carmenintech
77
5.3k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
160
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 ☕