Skip to content
This repository has been archived by the owner. It is now read-only.
My personalized development VM setup based on Vagrant-powered Vaprobash.
PHP Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf
dotfiles
log
www/default
.editorconfig
.gitignore
README.md
TODO.md
Vagrantfile
vaprozsh.sh

README.md

vaprozsh

My personalized Vagrant setup using vaprobash. vagrant-bindfs required.

Software

Uses vaprobash scripts to install only what I need:

  • 14.04 box with 768 MB memory and 768 MB swap
  • Nginx
  • PHP with Composer
  • MySQL & SQLite
  • git-ftp
  • Custom script installs zsh, antigen

Networking

  • Box is on 192.168.22.10 (default)
  • host port 8337 forwards to VM at 80
  • host port 2222 forwards to VM at 22 (default)

Shared Folders

  • conf dir syncs to /etc/nginx/conf.d; nginx vhosts go here
  • log dir syncs to /home/vagrant/log; nginx vhost log files go here
  • www dir syncs to /home/vagrant/www

Install & Run

  1. Clone repo: git clone git@github.com:geekish/vaprozsh.git ~/vaprozsh
  2. Start the VM: cd ~/vaprozsh && vagrant up
  3. Add your projects:
    • dev.conf provides a wildcard *.dev vhost pointing to ~/www/*/public - this just happens to be where all of my projects' public files are. You can edit this or add additional vhosts; see 0-wordpress.conf for an example.

I recommend using dnsmasq to handle *.dev, especially now that it's a registered TLD... thanks Google.

Check out the vaprobash docs for more information.

You can’t perform that action at this time.