cosma/symfony-project
Composer 安装命令:
composer create-project cosma/symfony-project
包简介
The "Symfony Standard Edition" distribution with docker
README 文档
README
Welcome to the Dockerized Symfony Standard Edition - a fully-functional Symfony2 application that you can use as the skeleton for your new applications.
This document contains information on how to download, install, and start using Symfony on Docker.
Table of Contents
Installing Symfony
When it comes to installing the Symfony Standard Edition, you have the following options.
Use Composer (recommended)
As Symfony uses [Composer][2] to manage its dependencies, the recommended way to create a new project is to use it.
If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:
curl -s http://getcomposer.org/installer | php
Then, use the create-project command to generate a new Symfony application:
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.
Docker
-
Download and install latest version of Virtual Box
-
Download and install latest version of Docker. For MacOS/ Windows user please install through Docker Toolbox
-
Run in console:
docker-compose up
Docker containers expose Nginx on port 80, MySQL on port 3306 and Kibana server on port 81.
Tests
Run in console:
bin/phpunit -c app/ --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit.xml --coverage-text src/
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-11