Commit 818b5427 by Alexander Makarov

Fixes #3400

parent 3e351fb8
...@@ -32,13 +32,17 @@ After you install the application, you have to conduct the following steps to in ...@@ -32,13 +32,17 @@ After you install the application, you have to conduct the following steps to in
the installed application. You only need to do these once for all. the installed application. You only need to do these once for all.
1. Execute the `init` command and select `dev` as environment. 1. Execute the `init` command and select `dev` as environment.
```
php /path/to/yii-application/init ```
``` php /path/to/yii-application/init
Otherwise, in production execute `init` in non-interactive mode. ```
```
php /path/to/yii-application/init --env=prod overwrite=n Otherwise, in production execute `init` in non-interactive mode.
```
```
php /path/to/yii-application/init --env=prod overwrite=n
```
2. Create a new database and adjust the `components.db` configuration in `common/config/main-local.php` accordingly. 2. Create a new database and adjust the `components.db` configuration in `common/config/main-local.php` accordingly.
3. Apply migrations with console command `yii migrate`. 3. Apply migrations with console command `yii migrate`.
4. Set document roots of your web server: 4. Set document roots of your web server:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment