2017 © Pedro Peláez
 

library docker-serve

image

silverstripe/docker-serve

  • Monday, September 19, 2016
  • by sminnee
  • Repository
  • 0 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Docker Serve

Following in the footsteps of silverstripe/serve, this module adds straightforward docker integration to your SilverStripe project., (*1)

Usage

First, add the package ot your project, (*2)

$> composer require silverstripe/docker-serve

Next, add an entry to your composer.json saying what docker image to use:, (*3)

  ...
  "extra": {
   ... 
    "docker-container": "sminnee/silverstripe-lamp:jessie"
   ... 
  },
  ...

You can run your tests with docker-phpunit:, (*4)

$> vendor/bin/docker-phpunit

And you can run a webserver based on silverstripe/serve with the following command:, (*5)

$> vendor/bin/docker-serve

Coming soon

  • Running arbitrary commands
  • Managing support services (such as starting a database)

The Versions

19/09 2016

dev-master

9999999-dev

  Sources   Download

BSD-3-Clause

The Requires