galador / laravel-vagrant

Laravel Setup with Postgres / Nginx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel

This repo houses the Puppet manifests and Vagrantfile that we use for local Laravel 4 based development on Mac OS X. This project is based on some original work by bureaublank/galileo-laravel.

Puppet manifests included:

  • NGINX
  • PHP-FPM (extensions: mcrypt, cli, apc, xdebug, apc)
  • PostgreSQL
  • MySQL (root pw: vagrant)
  • Composer
  • Laravel 4

Requirements

  • VirtualBox
  • Vagrant

Setting it Up

  1. Clone the repo into where you want to have your Vagrant box setup. This repo contains the Vagrantfile which will configure your box and Puppet manifests for provisioning of the box.

     git clone https://github.com/galador/laravel-vagrant.git
    
  2. Once cloned, cd into the directory, and run:

     vagrant up
    
  3. This will start the process. It may take a while depending on your connection!
    A few things are happening: First, it's downloading an Ubuntu 12.04 Precise32 box if you don't already have it. After that's done, the box will boot and Puppet will provision the empty box with the stack described above.

  4. Once it's all done, just go to http://localhost:8080 in a web browser and you should see the default Laravel 4 "Hello World!" page.

  5. The www/ folder where you clone the repo is the web root shared with the virtual machine and where Laravel was installed into.

About

Laravel Setup with Postgres / Nginx


Languages

Language:Ruby 82.7%Language:Puppet 16.4%Language:Shell 0.8%Language:Perl 0.2%