Create virtual development environment using Docker Compose inside Vagrant.
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.
scripts/vagrant
.gitignore
LICENSE
Vagrantfile
composer.json
package.json
readme.md

readme.md

Local Development Environment

Use this package to quickly add a development environment to your project.

Requirements

Install

  1. Add this package to your project using Composer:

    composer require --dev wpsh/local
    
  2. Add Vagrantfile to the root of your project with the following contents:

    load File.join(
        File.dirname(__FILE__),
        'vendor/wpsh/local/Vagrantfile'
    )
    

    where vendor/wpsh/local is the relative path to this packge.

  3. Create docker-compose.yaml in the root of your project to define the virtual environment.

To Do

  • Add support for installing via npm.
  • Automatically create the project Vagrantfile on the first install.
  • Add examples of docker-compose.yaml for various projects.

Credits

Created by Kaspars Dambis.

License

See the LICENSE file for license rights and limitations (MIT).