Create a development environment of WebStream on Vagrant.
Need to install:
- VirtualBox
- Vagrant
- Ansible
Using ansible_local for provisioning, so you are vagrant-vbguest install to your local machine.
$> vagrant plugin install vagrant-vbguest
This environment is build for Dockerfile.
Get the Dockerfile from https://github.com/webstream-framework/Build.git
and execute command docker build
.
Otherwise, Get the Docker image from https://hub.docker.com/u/webstream/
and build.
Develop applications in this environment.
Middleware consists of docker, source code is synchronized from the host machine by rsync and transferred to the docker container.
There is also an environment created by Vagrant, but already not use settings (deprecated).
This environment is unit test and integration test for WebStream.
The unit test is to use PHPUnit
. The integration test also use PHPUnit
, using the docker container when http access and database access is required.
This testing environment is the same as the testing on the cloud CI environment (ex: TravisCI)
Licensed under the MIT http://www.opensource.org/licenses/mit-license.php