Skip to content
This repository has been archived by the owner. It is now read-only.

fsylum/vagrant-boilerplate

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
www
 
 
 
 
 
 
 
 
 
 
 
 

Vagrant Boilerplate

This is a personal Vagrant setup that I use for each project that I manage. It's basic LEMP stack on Ubuntu 14.04 with a few additions such as Composer, Node.js and WP-CLI ready at the get-go.

Why another boilerplate?

VVV is a fantastic Vagrant setup, where much of the provisioning of this setup is based on. However, VVV provides lot of things out of the box which I don't necessarily require in my development workflow, plus it is catered more on WordPress development. On the other hand, I would only need a simple LEMP stack, that also works well on my Windows machine.

Requirement

Note: Vagrant::Hostsupdater is optional to automatically add the entry to the hosts file. If you skip that, you will need to manually edit the hosts file and add the related entry yourself.

Usage

git clone https://github.com/fsylum/vagrant-boilerplate <project-name>
cd <project-name>
vagrant up

All Vagrant commands like vagrant halt, vagrant destroy and vagrant suspend are applicable.

Credentials

MySQL root:

User: root Password: password

Additional MySQL access:

User: vagrant Password: password Database: vagrant

What's Included?

Directory Structure

  • config - Contains all services related configuration, please modify it accordingly to your usage.
  • logs - Contains all the logs generated from nginx as well as PHP errors.
  • www - The web root of your web application.

Domains

By default, the site is accessible by using parent directory name as domain name with .dev tld. For example, if the boilerplate is installed inside foobar directory, the site then will be accessible on http://foobar.dev, Additionally, two subdomains will be available as shortcut to phpMyAdmin and Mailhog respectively:

Credits

VVV team for an awesome Vagrant setup.

About

Simple LEMP development stack using Vagrant

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published