For the love of all things moist, please don't use this on a publicly-accessible server.
A super-simple Vagrant LAMP stack, provisioned using Puppet, and customised for local Laravel 4 development.
In addition to the usual LAMP stuff, we automatically:
- Install PHPUnit
- Install Composer
- Create a development database (
devdb) - Point the document root at Laravel's
publicfolder - Set the correct permissions on the Laravel
storagedirectory - Set up a custom
~/.profileto automaticallycd /vagranton SSH login.
Configure Laravel to use the following database credentials when developing locally.
| Item | Value |
|---|---|
| DB Name | devdb |
| Username | root |
| Password | root |
Import the SequelPro.plist into Sequel Pro, and you should be sorted. If that doesn't work for some reason, the credentials are as follows:
| Item | Value |
|---|---|
| Name | Vagrant |
| MySQL Host | 127.0.0.1 |
| Username | root |
| Password | root |
| Database | devdb |
| Port | 3306 |
| SSH Host | localhost |
| SSH Key | ~/.vagrant.d/insecure_private_key |
| SSH Port | 2222 |