8000 GitHub - haroldangenent/box: Opinionated Vagrant box, based on Scotch Box ๐ŸŽ
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Opinionated Vagrant box, based on Scotch Box ๐ŸŽ

License

Notifications You must be signed in to change notification settings

haroldangenent/box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

54 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Box ๐ŸŽ

Opinionated Vagrant box, based on Scotch Box.

Features

  • Automatically add used domains (vhosts) to /etc/hosts
  • Database export on each vagrant halt or vagrant destroy
  • Database import on first vagrant up
  • PHP 7.1
  • Xdebug
  • Webgrind (installed on www.webgrind.test)
  • Bundler
  • Composer
  • Subversion
  • WP-CLI
  • Enabled SSL module

Installation

  1. Clone this repo
  2. Run vagrant up inside the cloned directory

Prerequisites

Usage

New project

To add a project, create a config file inside the sites/ directory. An example config file for a project that uses the web/ directory as webroot:

example.conf

<VirtualHost *:80>
    ServerName www.example.test
    DocumentRoot /var/www/example/web
</VirtualHost>

Reload vhosts

You can run vagrant provision --provision-with vhosts to only provision the available vhosts, without provisioning the entire box.

Resources

Some useful resources for commonly needed features:

About

Opinionated Vagrant box, based on Scotch Box ๐ŸŽ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0