定制 wpsh/local 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wpsh/local

最新稳定版本:0.2.3

Composer 安装命令:

composer require wpsh/local

包简介

A Docker Compose development environment for any project.

README 文档

README

Build Status

Add this to any project with docker-compose.yaml to run the containers inside Vagrant. Useful for creating friendly development environments with beautiful hostnames (no port numbers) that don't require Docker on the host machine.

Requirements

We suggest using Homebrew to install the dependencies:

brew cask install virtualbox vagrant

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:

     # Configure the hostname.
     Vagrant.configure(2) do |config|
       config.vm.hostname = 'wpsh-local'
     end
    
     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.

Examples

Development

Travis CI lints all shell scripts in scripts/vagrant using shellcheck and Vagrantfile (and other Ruby files) using rubocop.

To Do

  • Add support for installing via npm.
  • Automatically create the project Vagrantfile on the first install.

Credits

Created by Kaspars Dambis.

License

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

统计信息

  • 总下载量: 150.21k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 4
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Shell

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-12-14