Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (21 sloc) 0.983 kb

What

Vagrant/Chef files for a LAMP server

How

  1. Install vagrant

    gem install vagrant
    
  2. Download and Install VirtualBox
  3. Clone this repo
  4. Go to the repo and launch the box

    cd [repo]
    vagrant up
    
  5. Add this line to your /etc/hosts (or windows equivalent) 127.0.0.1 www.dev-site.com dev-site.com dev.dev-site-static.com

That's it, the file in [repo]/public/ are served here : http://www.dev-site.com:8080/

You can add XDEBUG_PROFILE to your GET parameter to generate an xdebug trace, e.g. http://www.dev-site.com:8080/?XDEBUG_PROFILE

You can then investigate at http://localhost:8080/webgrind/

Phpmyadmin is available http://localhost:8080/phpmyadmin/. User myadmin, Password myadmin

License

See MIT-LICENSE.txt

Jump to Line
Something went wrong with that request. Please try again.