From c94ff9c36a46bfbdd367d1481e6e4a3b324f8adf Mon Sep 17 00:00:00 2001 From: Yuriy Prokopets Date: Sat, 4 Mar 2017 20:17:28 +0200 Subject: [PATCH] Done Readme --- LICENSE | 2 +- README.md | 76 ++++++++++----------- composer.json | 6 +- composer.lock | 178 ++------------------------------------------------ 4 files changed, 43 insertions(+), 219 deletions(-) diff --git a/LICENSE b/LICENSE index 17d16a1..8d6964b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2004-2017 Fabien Potencier +Copyright (c) 2017 Yuriy Prokopets Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 23cec20..bae7801 100644 --- a/README.md +++ b/README.md @@ -1,69 +1,59 @@ -Symfony Standard Edition +Symfony Docker Edition ======================== -Welcome to the Symfony Standard Edition - a fully-functional Symfony -application that you can use as the skeleton for your new applications. +Ідея проекту - запустити [Symfony][1], при цьому не захламити ніякими пакетами власний комп'ютер. Все, що необхідно - це git, docker та docker-compose. -For details on how to download and get started with Symfony, see the -[Installation][1] chapter of the Symfony Documentation. - -What's inside? +Встановлення та запуск -------------- -The Symfony Standard Edition is configured with the following defaults: + * Встановлюємо [Docker][2] - * An AppBundle you can use to start coding; + * Встановлюємо [Docker Compose][3] - * Twig as the only configured template engine; + * Клонуємо репозиторій - * Doctrine ORM/DBAL; + $ git clone git@github.com:madman/sy2docker.git + + * Виставляємо необхідні права на папки та файли - * Swiftmailer; + $ ./permissions.sh - * Annotations enabled for everything. + * Збираємо образи для docker -It comes pre-configured with the following bundles: + $ docker-compose build - * **FrameworkBundle** - The core Symfony framework bundle + * Запускаємо контейнери - * [**SensioFrameworkExtraBundle**][6] - Adds several enhancements, including - template and routing annotation capability + $ docker-compose up -d - * [**DoctrineBundle**][7] - Adds support for the Doctrine ORM + * Встановлюємо залежності - * [**TwigBundle**][8] - Adds support for the Twig templating engine + $ docker-compose run composer install - * [**SecurityBundle**][9] - Adds security by integrating Symfony's security - component + * Відкриваємо в браузері http://localhost:8080/ - * [**SwiftmailerBundle**][10] - Adds support for Swiftmailer, a library for - sending emails - * [**MonologBundle**][11] - Adds support for Monolog, a logging library +Які є контенери? +-------------- - * **WebProfilerBundle** (in dev/test env) - Adds profiling functionality and - the web debug toolbar + * nginx - 1.10.1 + * php - php-fpm (версія php 5.6.30) + * mysql - версия 5.5 + * composer - сервіс для роботи з композером + * console - консоль symfony - * **SensioDistributionBundle** (in dev/test env) - Adds functionality for - configuring and working with Symfony distributions +Відмінність від [Symfony Standard Edition][4] +-------------- - * [**SensioGeneratorBundle**][13] (in dev/test env) - Adds code generation - capabilities + * видалений пакет SwiftmailerBundle - * **DebugBundle** (in dev/test env) - Adds Debug and VarDumper component - integration + * видалений пакет incenteev/composer-parameter-handler. Налаштування відбувається автоматично -All libraries and bundles included in the Symfony Standard Edition are -released under the MIT or BSD license. +Все програмне забезпечення в Symfony Docker Edition розповсюджується під MIT або BSD ліцензіями -Enjoy! +Насолоджуйтесь! [1]: https://symfony.com/doc/3.2/setup.html -[6]: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html -[7]: https://symfony.com/doc/3.2/doctrine.html -[8]: https://symfony.com/doc/3.2/templating.html -[9]: https://symfony.com/doc/3.2/security.html -[10]: https://symfony.com/doc/3.2/email.html -[11]: https://symfony.com/doc/3.2/logging.html -[12]: https://symfony.com/doc/3.2/assetic/asset_management.html -[13]: https://symfony.com/doc/current/bundles/SensioGeneratorBundle/index.html +[2]: https://docs.docker.com/engine/installation/ +[3]: https://docs.docker.com/compose/install/ +[4]: https://github.com/symfony/symfony-standard \ No newline at end of file diff --git a/composer.json b/composer.json index 1759281..92bdcdd 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,8 @@ { - "name": "symfony/framework-standard-edition", + "name": "madman/sy2docker", "license": "MIT", "type": "project", - "description": "The \"Symfony Standard Edition\" distribution", + "description": "The \"Symfony Docker Edition\" distribution", "autoload": { "psr-4": { "": "src/" }, "classmap": [ "app/AppKernel.php", "app/AppCache.php" ] @@ -16,12 +16,10 @@ "doctrine/orm": "^2.5", "doctrine/doctrine-bundle": "^1.6", "doctrine/doctrine-cache-bundle": "^1.2", - "symfony/swiftmailer-bundle": "^2.3.10", "symfony/monolog-bundle": "^3.0.2", "symfony/polyfill-apcu": "^1.0", "sensio/distribution-bundle": "^5.0", "sensio/framework-extra-bundle": "^3.0.2", - "incenteev/composer-parameter-handler": "^2.0", "twig/twig": "^1.0||^2.0" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 7cde15a..844e54c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "938e462313ebffa9bea5172654c82ffd", - "content-hash": "c2b6f5a399c60873caf9f00fa938bb70", + "hash": "b59947dc906cde4d08b6aff55be46ea3", + "content-hash": "f430b03ab619aa0a581e9aafd4c2fdb2", "packages": [ { "name": "doctrine/annotations", @@ -775,57 +775,6 @@ ], "time": "2016-12-18 15:42:34" }, - { - "name": "incenteev/composer-parameter-handler", - "version": "v2.1.2", - "source": { - "type": "git", - "url": "https://github.com/Incenteev/ParameterHandler.git", - "reference": "d7ce7f06136109e81d1cb9d57066c4d4a99cf1cc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/Incenteev/ParameterHandler/zipball/d7ce7f06136109e81d1cb9d57066c4d4a99cf1cc", - "reference": "d7ce7f06136109e81d1cb9d57066c4d4a99cf1cc", - "shasum": "" - }, - "require": { - "php": ">=5.3.3", - "symfony/yaml": "~2.3|~3.0" - }, - "require-dev": { - "composer/composer": "1.0.*@dev", - "phpspec/prophecy-phpunit": "~1.0", - "symfony/filesystem": "~2.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Incenteev\\ParameterHandler\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Christophe Coevoet", - "email": "stof@notk.org" - } - ], - "description": "Composer script handling your ignored parameter file", - "homepage": "https://github.com/Incenteev/ParameterHandler", - "keywords": [ - "parameters management" - ], - "time": "2015-11-10 17:04:01" - }, { "name": "jdorn/sql-formatter", "version": "v1.2.17", @@ -956,16 +905,16 @@ }, { "name": "paragonie/random_compat", - "version": "v2.0.8", + "version": "v2.0.9", "source": { "type": "git", "url": "https://github.com/paragonie/random_compat.git", - "reference": "eeb4c23c7b84c1dc87db3c92856bd57ff1844ca4" + "reference": "6968531206671f94377b01dc7888d5d1b858a01b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/eeb4c23c7b84c1dc87db3c92856bd57ff1844ca4", - "reference": "eeb4c23c7b84c1dc87db3c92856bd57ff1844ca4", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/6968531206671f94377b01dc7888d5d1b858a01b", + "reference": "6968531206671f94377b01dc7888d5d1b858a01b", "shasum": "" }, "require": { @@ -1000,7 +949,7 @@ "pseudorandom", "random" ], - "time": "2017-03-03 14:11:40" + "time": "2017-03-03 20:43:42" }, { "name": "psr/cache", @@ -1261,60 +1210,6 @@ "description": "A security checker for your composer.lock", "time": "2017-02-18 17:53:25" }, - { - "name": "swiftmailer/swiftmailer", - "version": "v5.4.6", - "source": { - "type": "git", - "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "81fdccfaf8bdc5d5d7a1ef6bb3a61bbb1a6c4a3e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/81fdccfaf8bdc5d5d7a1ef6bb3a61bbb1a6c4a3e", - "reference": "81fdccfaf8bdc5d5d7a1ef6bb3a61bbb1a6c4a3e", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "mockery/mockery": "~0.9.1", - "symfony/phpunit-bridge": "~3.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.4-dev" - } - }, - "autoload": { - "files": [ - "lib/swift_required.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Chris Corbyn" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Swiftmailer, free feature-rich PHP mailer", - "homepage": "http://swiftmailer.org", - "keywords": [ - "email", - "mail", - "mailer" - ], - "time": "2017-02-13 07:52:53" - }, { "name": "symfony/monolog-bundle", "version": "v3.0.3", @@ -1712,65 +1607,6 @@ ], "time": "2016-11-14 01:06:16" }, - { - "name": "symfony/swiftmailer-bundle", - "version": "v2.5.3", - "source": { - "type": "git", - "url": "https://github.com/symfony/swiftmailer-bundle.git", - "reference": "b59a70d03b948e29d070b6c4416b4a03af4748ec" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/swiftmailer-bundle/zipball/b59a70d03b948e29d070b6c4416b4a03af4748ec", - "reference": "b59a70d03b948e29d070b6c4416b4a03af4748ec", - "shasum": "" - }, - "require": { - "php": ">=5.3.2", - "swiftmailer/swiftmailer": ">=4.2.0,~5.0", - "symfony/config": "~2.7|~3.0", - "symfony/dependency-injection": "~2.7|~3.0", - "symfony/http-kernel": "~2.7|~3.0" - }, - "require-dev": { - "symfony/console": "~2.7|~3.0", - "symfony/framework-bundle": "~2.7|~3.0", - "symfony/phpunit-bridge": "~2.7|~3.0", - "symfony/yaml": "~2.7|~3.0" - }, - "suggest": { - "psr/log": "Allows logging" - }, - "type": "symfony-bundle", - "extra": { - "branch-alias": { - "dev-master": "2.5-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Bundle\\SwiftmailerBundle\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Symfony Community", - "homepage": "http://symfony.com/contributors" - }, - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Symfony SwiftmailerBundle", - "homepage": "http://symfony.com", - "time": "2017-03-02 16:47:57" - }, { "name": "symfony/symfony", "version": "v3.2.4",