2. Gerald Z. Villorente
Drupal | Linux | DevOps | Consultant | Open-Source Advocate
VielSoft Ltd. | MossWood Creative
Intro to Kalabox
3. Our greatest weakness lies in giving up. The
most certain way to succeed is always to
try just one more time.
- T.A Edison
4. Infuse your life with action.
Don't wait for it to happen.
Make it happen. Make your
own future. Make your own
hope. Make your own love.
And whatever your beliefs,
honor your creator, not by
passively waiting for grace
to come down from upon
high, but by doing what
you can to make grace
happen... yourself, right
now, right down here on
Earth.
- Bradley Whitford
5. About Me
Farmer
Tricycle Driver
Disc Jockey
Systems Administrator
Web Developer
Drupalista
DevOps Practitioner
OpenStack Kid
Startup
Father
8. Common Reasons
● Inconsistent environment
● Limited/lack of knowledge on the
importance of consistency
● It works on my machine
9. DIY Disadvantages
● Inconsistent environment
● Out of sync with the standards
● Long ramp-up/training for newbie
● It works on my machine!
● Inability to test Ops scripts
13. What is Kalabox?
A framework to build reusable, super fast, highly
customizable, extensible and local integrated workflow
solutions for all kinds of apps.
15. With Kalabox you can:
●
Easily mimic your production environment on local
●
Setup, develop, pull and deploy your sites super fast
●
Standardize your teams dev environments and tools on
OSX, Windows and Linux
●
Easily customize or extend tooling, deployment options
and basically any other functionality
●
Free yourself from the tyranny of inferior local
development products
19. Kalabox Installation
●
Download the Kalabox binary for your platform from
here.
●
For Windows just install the binary.
●
For Unix and Mac just place the binary to
/usr/local/bin/. Rename it to kbox.
●
In your terminal you can access it by typing kbox.
29. Creating a Project
gerald@von-viel:~/Desktop/test$ kbox create pantheon
? Pantheon dashboard email: geraldvillorente@gmail.com
? Pantheon dashboard password: ************
? Which site? berkeley-test
? Which environment? dev
? What will you call this monster you have created: berkeley-test
Building your app...
###############################################################
Welcome to Kalabox 2!
We see this is your first time running a Kalabox command that
requires the use of the Kalabox engine. Before we can do this
We need to install some special things to make sure you are
good to go. Please agree to the prompt below to install all
the magic. (takes about 5 minutes with average download speed)
###############################################################
30. Starting Kalabox
$ kbox up
info: BOOT2DOCKER => Starting up.
maxRetries=3, max=3
info: BOOT2DOCKER => Initializing boot2docker
[1].
info: BOOT2DOCKER => Sharing folders [1].
info: BOOT2DOCKER => Bringing boot2docker up
[1].
info: BOOT2DOCKER => Boot2docker is up.
Kalabox engine has been activated.
31. Shutting Kalabox
$ kbox down
info: BOOT2DOCKER => Shutting down [1].
info: BOOT2DOCKER => Shutting down [2].
info: BOOT2DOCKER => Shut down successful.
Kalabox engine has been deactivated.
32. Running Kalabox Containers
$ kbox berkeley-test start
info: BOOT2DOCKER => Starting up. maxRetries=3, max=3
info: BOOT2DOCKER => Initializing boot2docker [1].
info: BOOT2DOCKER => Sharing folders [1].
info: BOOT2DOCKER => Bringing boot2docker up [1].
info: BOOT2DOCKER => Boot2docker is up.
Kalabox engine has been activated.
info: DOCKER => Creating ad hoc container "kalabox/debian:stable".
name=kalabox_temp-8c014d39-1b61-4620-9ce3-a3ba30bf4eaa, Cmd=[bash], Tty=true,
Image=kalabox/debian:stable, Env=[APPDOMAIN=berkeley-test.kbox, KBOX_CODEDIR=code,
KALABOX=true, APPNAME=berkeley-test, SSH_KEY=pantheon.kalabox.id_rsa, GITUSER=Gerald
Villorente, GITEMAIL=geraldvillorente@gmail.com,
PANTHEON_ACCOUNT=geraldvillorente@gmail.com], VolumesFrom=[kb_berkeley-test_data]
info: DOCKER => Ad hoc container created.
1b0fcbe5f01f0f9336e9761f254264113f6008efc97ed674a5c6bbad0d099182
info: DOCKER => Starting ad hoc container
"1b0fcbe5f01f0f9336e9761f254264113f6008efc97ed674a5c6bbad0d099182".
Binds=[/Users/gerald/Desktop/test/berkeley-test:/src:rw]
. . . .
45. Credits
●
Mike Pirog of Kalamuna, Kalabox project lead.
●
Drupal User Group Cebu headed by Luc Bezier and PrometSource.
●
AsiaWorld Advertising for sponsoring my accomodation and food.
●
MossWood Creative
●
VielSoft Ltd.
46. Disclaimer
All images used in this presentation are not
mine. Therefore, all rights reserved to the
original owner.