http://developer.joomlatools.com @joomlatools
Joomla in a Box
A local development environment
v1.3
Getting started
Install Virtualbox
1
http://virtualbox.org
2
Install Vagrant http://vagrantup.com/downloads
3
Install Box
$ vagrant init joomlatools/box
$ vagrant up
Add the following line to your hosts file [/etc/hosts] :
33.33.33...
3
Open the dashboard http://joomla.box
In your browser go to the dashboard at http://joomla.box
for quick access all tools...
Creating sites
4
Creating Sites
$ vagrant ssh (or open the web Terminal via http://joomla.box)
$ joomla site:create --sample-data=testing...
Installing extensions
5
Using Composer http://packagist.org
6
Using Composer http://getcomposer.org
$ vagrant ssh
$ cd /var/www/joomla3
$ composer require joomlatools/com_helloworld:...
7
Using Symlinks http://joomla.box/joomla3
8
Using Symlinks
$ cd Projects
$ git clone https://github.com/joomlatools/joomla-
com_helloworld.git
http://joomla.box/joo...
9
Using Symlinks http://joomla.box/joomla3
$ vagrant ssh
$ joomla extension:symlink joomla3 joomla-helloworld
$ joomla ext...
Testing versions
10
Adding sites
$ vagrant ssh
$ joomla versions
http://joomla.box/joomla33
Get a list of all Joomla
versions from Github.
11
Adding sites
$ vagrant ssh
$ joomla site:create --joomla=3.3-dev joomla33
http://joomla.box/joomla33
http://joomla.box/...
Managing PHP
12
Managing PHP
$ vagrant ssh
$ box php:versions
$ box php:use 5.4.18
http://joomla.box/phpinfo
http://joomla.dev/phpinfo
...
13
Clearing APC
$ vagrant ssh
$ box apc:clear
http://joomla.box/apc
http://joomla.box/apc
In your browser go to ...
14
Enabling xdebug
$ vagrant ssh
$ box xdebug:enable
http://joomla.box/phpinfo
Extra tools
15
Mailcatcher http://joomla.box:1080
16
PHPMyAdmin http://phpmyadmin.joomla.box
17
Webgrind http://webgrind.joomla.box
18
PimpMyLog http://joomla.box/pimpmylog
19
Wetty http://joomla.box:3000
20
PHPMetrics
Box sharing
21
Vagrant Share
$ vagrant login
$ vagrant share
http://joomla.box/joomla3
http://xxx-xxx-xxx.vagrantshare.com
In your bro...
More Info
@tweep - Can you get Joomla in a Box ? Yes. Just fold it! #joomla #vagrant @joomlatools
http://twitter.com/jooml...
Upcoming SlideShare
Loading in...5
×

Joomla in a Box – A Vagrant box for local Joomla development

4,618

Published on

Joomla developers and agencies face the same challenges everyday. Testing their extensions against different Joomla versions, bugs that only happen in certain PHP versions, telling people "works on my machine" over and over again...

What if we didn't have to suffer all this? What if it took 5 seconds to set up a new Joomla site or 2 minutes to test a new PHP version? And what if all your coworkers had the exact same setup as you do?

In this presentation, we introduce Vagrant, a virtual machine manager, and walk through the benefits of using it for development. The slides take you through the different steps to setup a complete local Joomla environment in just minutes, install a site and install an extension from Git. At the end we also include information of the different productivity tools that are installed in the box.

If you develop with Joomla locally then this presentation is one you shouldn’t miss out on. Happy coding !

Published in: Technology
1 Comment
4 Likes
Statistics
Notes
  • Thanks for the link Marco, let us know your feedback and how we can further improve the box!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
4,618
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
27
Comments
1
Likes
4
Embeds 0
No embeds

No notes for slide

Joomla in a Box – A Vagrant box for local Joomla development

  1. 1. http://developer.joomlatools.com @joomlatools Joomla in a Box A local development environment v1.3
  2. 2. Getting started
  3. 3. Install Virtualbox 1 http://virtualbox.org
  4. 4. 2 Install Vagrant http://vagrantup.com/downloads
  5. 5. 3 Install Box $ vagrant init joomlatools/box $ vagrant up Add the following line to your hosts file [/etc/hosts] : 33.33.33.58 joomla.box webgrind.joomla.box phpmyadmin.joomla.box http://joomla.box
  6. 6. 3 Open the dashboard http://joomla.box In your browser go to the dashboard at http://joomla.box for quick access all tools and installed sites
  7. 7. Creating sites
  8. 8. 4 Creating Sites $ vagrant ssh (or open the web Terminal via http://joomla.box) $ joomla site:create --sample-data=testing joomla3 http://joomla.box/joomla3 For help on a command $ joomla site:create --help For more commands $ joomla --list
  9. 9. Installing extensions
  10. 10. 5 Using Composer http://packagist.org
  11. 11. 6 Using Composer http://getcomposer.org $ vagrant ssh $ cd /var/www/joomla3 $ composer require joomlatools/com_helloworld:0.0.2
  12. 12. 7 Using Symlinks http://joomla.box/joomla3
  13. 13. 8 Using Symlinks $ cd Projects $ git clone https://github.com/joomlatools/joomla- com_helloworld.git http://joomla.box/joomla3
  14. 14. 9 Using Symlinks http://joomla.box/joomla3 $ vagrant ssh $ joomla extension:symlink joomla3 joomla-helloworld $ joomla extension:install joomla3 com_helloworld http://joomla.box/joomla3/index.php?option=com_helloworld In your browser go to ...
  15. 15. Testing versions
  16. 16. 10 Adding sites $ vagrant ssh $ joomla versions http://joomla.box/joomla33 Get a list of all Joomla versions from Github.
  17. 17. 11 Adding sites $ vagrant ssh $ joomla site:create --joomla=3.3-dev joomla33 http://joomla.box/joomla33 http://joomla.box/joomla33 In your browser go to ...
  18. 18. Managing PHP
  19. 19. 12 Managing PHP $ vagrant ssh $ box php:versions $ box php:use 5.4.18 http://joomla.box/phpinfo http://joomla.dev/phpinfo In your browser go to ...
  20. 20. 13 Clearing APC $ vagrant ssh $ box apc:clear http://joomla.box/apc http://joomla.box/apc In your browser go to ...
  21. 21. 14 Enabling xdebug $ vagrant ssh $ box xdebug:enable http://joomla.box/phpinfo
  22. 22. Extra tools
  23. 23. 15 Mailcatcher http://joomla.box:1080
  24. 24. 16 PHPMyAdmin http://phpmyadmin.joomla.box
  25. 25. 17 Webgrind http://webgrind.joomla.box
  26. 26. 18 PimpMyLog http://joomla.box/pimpmylog
  27. 27. 19 Wetty http://joomla.box:3000
  28. 28. 20 PHPMetrics
  29. 29. Box sharing
  30. 30. 21 Vagrant Share $ vagrant login $ vagrant share http://joomla.box/joomla3 http://xxx-xxx-xxx.vagrantshare.com In your browser go to ...
  31. 31. More Info @tweep - Can you get Joomla in a Box ? Yes. Just fold it! #joomla #vagrant @joomlatools http://twitter.com/joomlatools http://github.com/joomlatools http://facebook.com/joomlatools http://google.com/+Joomlatools http://developer.joomlatools.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×