2017 © Pedro Peláez
 

project vagrant-devbox

An out-of-the-box Vagrant development box managed by Composer

image

xtreamwayz/vagrant-devbox

An out-of-the-box Vagrant development box managed by Composer

  • Wednesday, May 20, 2015
  • by xtreamwayz
  • Repository
  • 1 Watchers
  • 2 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Vagrant DevBox

Vagrant DevBox is a local development environment. All necessary tools are inside the virtual machine, configured and waiting to be used. All you need to do is startup the vagrant box and SSH into it. Files can be created / modified outside the vagrant box with your favorite editor. All other commands can / should be run inside the virtual machine., (*1)

What's Installed?

The vagrant box runs on Ubuntu Trusty (14.04) with Apache, MySQL, PHP and more... For a full list take a look at vagrant-puppet., (*2)

Prerequisites

By default agent forwarding over SSH connections is enabled. On the host system you need to have ssh-agent running with your key(s) added. If the agent is running, tools like git will just work without importing your valuable keys into the vagrant box., (*3)

Getting Started

This is a fairly simple project to get up and running. The procedure for starting up a working development environment is as follows:, (*4)

  1. Create a new project: composer create-project xtreamwayz/vagrant-devbox <project-path>
  2. Run the command vagrant up from the directory.
  3. Open your browser to http://localhost:8000/.

Working with the environment

You can access your vagrant box at http://localhost:8000/ or http://192.168.10.10/., (*5)

The source code can be found at /vagrant. The website is served from /vagrant/public., (*6)

The MySQL database, username and password is vagrant. They can be customized in the optional <project_path>/vagrant.yaml file., (*7)

Specific configurations

There are specific wordpress and phpbb configuration files included in the build dir. Simply copy these file to your <project_root> dir (where this file is located) and run composer., (*8)

Vagrant commands

// Start or resume the vagrant box
vagrant up

// SSH into the vagrant box
vagrant ssh

// Shut down the vagrant box
vagrant halt

// Updating the box on startup once in a while might be a good idea
vagrant up --provision
// Update the box while it is running
vagrant provision

// Delete the vagrant box (the image only, not any git controlled source files)
vagrant destroy

The Versions

20/05 2015

dev-master

9999999-dev https://github.com/xtreamwayz/vagrant-devbox

An out-of-the-box Vagrant development box managed by Composer

  Sources   Download

MIT

The Development Requires

composer vagrant puppet

20/05 2015

v2.0.0

2.0.0.0 https://github.com/xtreamwayz/vagrant-devbox

An out-of-the-box Vagrant development box managed by Composer

  Sources   Download

MIT

The Development Requires

composer vagrant puppet

18/05 2015

v1.3.0

1.3.0.0 https://github.com/twentyfirsthall/vagrant-devbox

An out-of-the-box Vagrant development box managed by Composer

  Sources   Download

MIT

The Development Requires

composer vagrant puppet

18/04 2015

v1.2.1

1.2.1.0 https://github.com/twentyfirsthall/vagrant-devbox

An out-of-the-box Vagrant development box managed by Composer

  Sources   Download

MIT

The Development Requires

composer vagrant puppet

08/04 2015

1.2.0

1.2.0.0 https://github.com/twentyfirsthall/vagrant-devbox

An out-of-the-box Vagrant development box managed by Composer

  Sources   Download

MIT

The Development Requires

composer vagrant puppet

19/03 2015

v1.1.0

1.1.0.0 https://github.com/twentyfirsthall/vagrant-devbox

An out-of-the-box Vagrant development box managed by Composer

  Sources   Download

MIT

The Development Requires

composer vagrant puppet

22/01 2015

v1.0.0

1.0.0.0 https://github.com/twentyfirsthall/vagrant-devbox

An out-of-the-box Vagrant development box managed by Composer

  Sources   Download

MIT

The Requires

 

composer vagrant puppet