2017 © Pedro Peláez
 

project silex-skeleton

Silex skeleton for new projects with Docker, CircleCI, Behat & PHPSpec.

image

yameveo/silex-skeleton

Silex skeleton for new projects with Docker, CircleCI, Behat & PHPSpec.

  • Wednesday, July 5, 2017
  • by qu1m
  • Repository
  • 0 Watchers
  • 0 Stars
  • 7 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 17 % Grown

The README.md

CircleCI, (*1)

Silex Skeleton

This is a basic silex skeleton sample, steps to install it:, (*2)

$ composer create-project --stability=dev yameveo/silex-skeleton name-of-your-project
$ cd name-of-your-project/
$ make setup PROJECT_NAME=name-of-your-project

At this point, the .git folder will be removed, so you can init the project into a new repo., (*3)

Environment pre-setup

Requirements (Mac OS):, (*4)

  • Install Docker Toolbox
  • Have a virtual machine named default
  • Run eval $(docker-machine env)

Requirements (Any Linux):, (*5)

  • Have docker installed

Run docker-machine ip and add the ip to your hosts file:, (*6)

192.168.99.100 name-of-your-project.dev

Run environment

make dev

Kill the environment

make nodev

See the container logs

make logs

Enter a container

make enter

  Write the name of the service that you want to access, possible choices are:

    * phpfpm
    * nging

Service name: phpfpm
root@b20f96fdf431:/app/name-of-your-project#

TESTS

  • Run phpspec tests:
bin/phpspec run
  • Run behat test:
bin/behat

The Versions

05/07 2017

dev-master

9999999-dev https://bitbucket.org/yameveo/silex-skeleton

Silex skeleton for new projects with Docker, CircleCI, Behat & PHPSpec.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Quim Manrique Roca