silverstripe / docker-serve
dev-master
2016-09-19 06:17 UTC
Requires
- phpunit/phpunit: >=3.7.0
- silverstripe/serve: dev-master
This package is auto-updated.
Last update: 2023-11-14 13:19:10 UTC
README
Following in the footsteps of silverstripe/serve, this module adds straightforward docker integration to your SilverStripe project.
Usage
First, add the package ot your project
$> composer require silverstripe/docker-serve
Next, add an entry to your composer.json saying what docker image to use:
... "extra": { ... "docker-container": "sminnee/silverstripe-lamp:jessie" ... }, ...
You can run your tests with docker-phpunit:
$> vendor/bin/docker-phpunit
And you can run a webserver based on silverstripe/serve with the following command:
$> vendor/bin/docker-serve
Coming soon
- Running arbitrary commands
- Managing support services (such as starting a database)