2017 © Pedro Peláez
 

project symfony-project

The "Symfony Standard Edition" distribution with docker

image

cosma/symfony-project

The "Symfony Standard Edition" distribution with docker

  • Wednesday, March 30, 2016
  • by cosma
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 50 % Grown

The README.md

Dockerized Symfony Standard Project

Welcome to the Dockerized Symfony Standard Edition - a fully-functional Symfony2 application that you can use as the skeleton for your new applications., (*1)

This document contains information on how to download, install, and start using Symfony on Docker., (*2)

Table of Contents

Installing Symfony

When it comes to installing the Symfony Standard Edition, you have the following options., (*3)

As Symfony uses [Composer][2] to manage its dependencies, the recommended way to create a new project is to use it., (*4)

If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:, (*5)

curl -s http://getcomposer.org/installer | php

Then, use the create-project command to generate a new Symfony application:, (*6)

php composer.phar create-project cosma/symfony-project path/to/install

Composer will install Symfony and all its dependencies under the path/to/install directory., (*7)

Docker

1) Download and install latest version of Virtual Box, (*8)

2) Download and install latest version of Docker. For MacOS/ Windows user please install through Docker Toolbox, (*9)

3) Run in console: docker-compose up, (*10)

Docker containers expose Nginx on port 80, MySQL on port 3306 and Kibana server on port 81., (*11)

Tests

Run in console: bin/phpunit -c app/ --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit.xml --coverage-text src/, (*12)

The Versions