forum/README.md
Mateusz Sip 29cc31c3de Basic readme telling how to select symfony version (#23)
* Basic readme telling how to select symfony version

* Describe installing symfony with custom stability

* Update README.md
2018-08-23 15:36:55 +02:00

1.1 KiB

Symfony Docker

A Docker-based installer and runtime for the Symfony web framework.

Getting Started

  1. Run docker-compose up (the logs will be displayed in the current shell)
  2. Open https://localhost in your favorite web browser and accept the auto-generated TLS certificate
  3. Enjoy!

Selecting a Specific Symfony Version

Use the SYMFONY_VERSION environment variable to select a specific Symfony version.

For instance, use the following command to install Symfony 3.4:

SYMFONY_VERSION=3.4 docker-compose up --build

To install a non-stable version of Symfony, use the STABILITY environment variable during the build. The value must be a valid a valid Composer stability option) .

For instance, use the following command to use the master branch of Symfony:

STABILITY=dev docker-compose up --build

Credits

Created by Kévin Dunglas and sponsored by Les-Tilleuls.coop.