Giter Site home page Giter Site logo

box's Introduction

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:

box's People

Contributors

haroldangenent avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

box's Issues

Check for vagrant-triggers

Would it be an option to check if a user has vagrant-triggers installed? With just a bare Vagrant install, an error is thrown (Unknown configuration section 'trigger').

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.