Upload
bincangteknologi
View
158
Download
0
Embed Size (px)
Citation preview
Vagrant & LaravelCreate Your Own HomeStead
about me
twitter -> _hiraqfacebook -> hiraqlinkedin -> hiraq
Agenda
- Quote- History- Laravel Homestead- Vagrant ( Why, How)- Example- End
Quote
“ di tempatku jalan kok…” ~ ultimate answer lv 99
History
Alkisah di sebuah startup super canggih:
Engineer A -> WindowsEngineer B -> OS XEngineer C -> Linux (ubuntu, debian, Arch)
Problem 1
CTO says: “kita butuh memcache, redis & rabbitmq utk stack kita”
Engineer B & Engineer C : Yes sir!Engineer A (Windows) : WTF!!!!
Problem 2
Engineer A (Windows) : “yihaa...jalan smua!!”Engineer B & C : “jalan YOUR HEAD!! error permission denied gini smua kok jalan!!
the three musketeers
“ tous pour un, un pour tous ““ all for one, one for all”
Solusi
“Sebuah environment yang bisa dibuat satu kali dan dishare, agar bisa dipakai oleh banyak orang”
Laravel Homestead
Laravel Homestead is an official, pre-packaged Vagrant "box" that provides you a wonderful development
environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local
machine.
Homestead
“combination between vagrant, laravel, and many stacks..batteries included”
build once, use everywhere by everyone
Vagrant
“Create and configure lightweight, reproducible, and portable development
environments.”
Vagrant - Why
“Vagrant will isolate dependencies and their configuration within a single disposable, consistent environment, without
sacrificing any of the tools you're used to working with (editors, browsers, debuggers, etc.).”
Tanpa Vagrant
Use Vagrant
Vagrant - How
- Vagrant - Virtualbox- Base Box (Base Image - Empty OS)- Project Box- Port Forwarding- Share Folder- Auto rsync
Example
End
“It's all talk until the code runs. — Ward Cunningham”