Skip to content

Commit 76ed0f1

Browse files
authored
Merge branch 'master' into app-update
2 parents 7af5f1b + 58e9388 commit 76ed0f1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

guide/en/intro/upgrade-from-v2.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,18 @@ that's all the business logic has to go to framework-independent classes.
6969

7070
Yii 3 services are conceptually similar to Yii 2 components, so it's a good idea to move reusable parts of your application
7171
into components.
72+
73+
### Learn Docker
74+
75+
Default application templates are using [Docker](https://www.docker.com/get-started/) to run application.
76+
It's a good idea to learn how to use it and use it for your own projects since it provides a lot of benefits:
77+
78+
1. Exactly the same environment as in production.
79+
2. No need to install anything except Docker itself.
80+
3. Environment is per application, not per server.
81+
82+
### Learn environment variables
83+
84+
Yii3 application templates are using [environment variables](https://en.wikipedia.org/wiki/Environment_variable)
85+
to configure pars of the application. The concept is [very handy for Dockerized applications](https://12factor.net/)
86+
but might be alien to users of Yii 1.1 and Yii 2.

0 commit comments

Comments
 (0)