/VagrantGazelle

Creates a Vagrant setup running Gazelle

Primary LanguagePHPMIT LicenseMIT

Vagrant Gazelle Build

Combined with a vanilla Debian Wheezy box, this Vagrantfile and associated files allows for the creation of a machine running Gazelle without any interaction from the user.

Once set up, the gazelle source files will be present in src/, which is shared to /var/www/ on the machine. A port forward from port 80 on the guest to 8080 on the host will also be established.

PLEASE NOTE: This setup is not suitable for use in production; all boxes created by this set up are identical, and therefore passwords & similar used in Gazelle & MySQL are known to all.

Usage

  1. Install a vagrant box for Debian Wheezy or build your own
  2. Get the source:
        git clone git@github.com:dr4g0nnn/VagrantGazelle.git
    
  3. Boot the box:
        cd VagrantGazelle; vagrant up
    
  4. Wait, while the install script sets everything up.
  5. Log into your newly set up box as usual:
        vagrant ssh
    

Building your own Debian Wheezy base box

If you, like me, do not trust random Vagrant boxes found on the internet, you can create your own easily using Veewee.

This method requires Ruby to be installed.

    git clone https://github.com/jedi4ever/veewee.git && cd veewee
    gem install bundler
    bundle install --path=.bundle

    bundle exec veewee vbox define 'debian-wheezy' 'Debian-7.1.0-amd64-netboot'
    bundle exec veewee vbox build 'debian-wheezy'
    bundle exec veewee vbox export 'debian-wheezy'

    vagrant box add 'debian-wheezy' 'debian-wheezy.box'

NOTE: Here Veewee is shown being checked out and used directly rather than installed, this is because at the time of writing the copy of Veewee in the gem repository was not able to be installed.

Contributing

Additions, fixes & improvements to this project are welcome:

  1. Fork this repository
  2. Make your changes
  3. Commit them to your fork
  4. Send me a pull request!

License

These files are available under the terms of the MIT license; see LICENSE or MIT license at opensource.org.