x3tech/laravel-shipper
最新稳定版本:0.5.0
Composer 安装命令:
composer require x3tech/laravel-shipper
包简介
Integrate Docker into your Laravel development workflow
README 文档
README
Integrating Laravel, Docker and Docker-Compose
Requirements
Instructions
-
Add to
composer.jsoncomposer require 'x3tech/laravel-shipper' '>=0.5'
-
Add the provider to
config/app.php'providers' => array( ... 'x3tech\LaravelShipper\Provider\ShipperProvider' );
-
If using MySQL, set host to
dbindatabase.php -
If using beanstalkd, set host to
queueinqueue.php -
Generate the
docker-compose.ymlconfig file./artisan shipper:create:all -
Build and start the containers
docker-compose build && docker-compose up -
Wait until the containers are started, and visit http://localhost:8080
FAQ
How do I run a command on my project (Such as artisan)
docker-compose run --rm app <command>
Examples
Artisan:
docker-compose run --rm app ./artisan
PHPUnit:
docker-compose run --rm app vendor/bin/phpunit
统计信息
- 总下载量: 19.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-10-28