Skip to content

Commit 29cc31c

Browse files
mateuszsipdunglas
authored andcommitted
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
1 parent 3ee156c commit 29cc31c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Symfony Docker
2+
3+
A [Docker](https://www.docker.com/)-based installer and runtime for the [Symfony](https://symfony.com) web framework.
4+
5+
## Getting Started
6+
7+
1. Run `docker-compose up` (the logs will be displayed in the current shell)
8+
2. Open `https://localhost` in your favorite web browser and [accept the auto-generated TLS certificate](https://stackoverflow.com/a/15076602/1352334)
9+
3. **Enjoy!**
10+
11+
## Selecting a Specific Symfony Version
12+
13+
Use the `SYMFONY_VERSION` environment variable to select a specific Symfony version.
14+
15+
For instance, use the following command to install Symfony 3.4:
16+
17+
`SYMFONY_VERSION=3.4 docker-compose up --build`
18+
19+
To install a non-stable version of Symfony, use the `STABILITY` environment variable during the build.
20+
The value must be a valid [a valid Composer stability option](https://getcomposer.org/doc/04-schema.md#minimum-stability)) .
21+
22+
For instance, use the following command to use the `master` branch of Symfony:
23+
24+
`STABILITY=dev docker-compose up --build`
25+
26+
## Credits
27+
28+
Created by [Kévin Dunglas](https://dunglas.fr) and sponsored by [Les-Tilleuls.coop](https://les-tilleuls.coop).

0 commit comments

Comments
 (0)