Development
Box

Branislav Djuric
bdjuric07@raf.edu.rs
@djbranislav
How do we Develop ...
Local Dev Environment
Local Dev Environment
●
●
●

No isolation
Not Shareable
Not Repeatable
Alternative?

Virtual
Machines?
Free and Open Source
Started on January 2010 by Mitchell Hashimoto
The first release, 0.1.0 released on March 7, 2010

Lin...
Tool that allows you to easy
manage your environment
How we use Vagrant 101
$ vagrant init precise32 http://files.vagrantup.com/precise32.box
$ vagrant up
Vagrantfile
Vagrant::Config.run do |config|
config.vm.box = "debian-6.0.3-64-elastica-20120211"
config.vm.box_url = "http:...
Vagrant::Config.run do |config|
config.vm.box = "debian-6.0.3-64-elastica-20120211"
config.vm.box_url = "http://ruflin.com...
Provisioning Tool
Setting up server without knowing of server specifications
class doInstall {
class { 'base-setup': stage...
Alternatives

● Chef
● Salt
● Bash Script
Questions ?
@djbranislav
Thank you
Development box at Startit Tech Meetup
Upcoming SlideShare
Loading in …5
×

Development box at Startit Tech Meetup

452 views
349 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
452
On SlideShare
0
From Embeds
0
Number of Embeds
100
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Development box at Startit Tech Meetup

  1. 1. Development Box Branislav Djuric bdjuric07@raf.edu.rs @djbranislav
  2. 2. How do we Develop ...
  3. 3. Local Dev Environment
  4. 4. Local Dev Environment ● ● ● No isolation Not Shareable Not Repeatable
  5. 5. Alternative? Virtual Machines?
  6. 6. Free and Open Source Started on January 2010 by Mitchell Hashimoto The first release, 0.1.0 released on March 7, 2010 Linux, Mac OS X and Windows
  7. 7. Tool that allows you to easy manage your environment
  8. 8. How we use Vagrant 101 $ vagrant init precise32 http://files.vagrantup.com/precise32.box $ vagrant up
  9. 9. Vagrantfile Vagrant::Config.run do |config| config.vm.box = "debian-6.0.3-64-elastica-20120211" config.vm.box_url = "http://ruflin.com/files/vagrant/debian-6.0.3-64-elastica20120211.box" config.vm.network :hostonly, "10.10.10.10" config.vm.share_folder("www", "/var/www", ".") config.vm.customize [ "modifyvm", :id, "--memory", "2048" ] end https://github.com/djuric42/xBoilerplate/blob/master/Vagrantfile
  10. 10. Vagrant::Config.run do |config| config.vm.box = "debian-6.0.3-64-elastica-20120211" config.vm.box_url = "http://ruflin.com/files/vagrant/debian-6.0.3-64-elastica20120211.box" config.vm.network :hostonly, "10.10.10.10" config.vm.share_folder("www", "/var/www", ".") config.vm.customize ["modifyvm", :id, "--memory", "2048"] config.vm.provision :puppet do |puppet| puppet.manifests_path = "vagrant/puppet/manifests" puppet.manifest_file = "base.pp" end config.vm.provision :shell, :inline => "/bin/bash /vagrant/load_database.sh" end
  11. 11. Provisioning Tool Setting up server without knowing of server specifications class doInstall { class { 'base-setup': stage => "first" } include apache2 include php include mysql include phpmyadmin class { 'cleanup': stage => "last" } }
  12. 12. Alternatives ● Chef ● Salt ● Bash Script
  13. 13. Questions ? @djbranislav
  14. 14. Thank you

×