Browse Source

Merge pull request #1308 from kk86bioinfo/patch-1

Update apps-advanced.md
tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
a1d2ab6d93
  1. 4
      docs/guide/apps-advanced.md

4
docs/guide/apps-advanced.md

@ -35,8 +35,8 @@ php /path/to/yii-application/init
--- ---
2. Create a new database. It is assumed that MySQL InnoDB is used. If not, adjust `console/migrations/m130524_201442_init.php`. 2. Create a new database. It is assumed that MySQL InnoDB is used. If not, adjust `console/migrations/m130524_201442_init.php`.
3. In `common/config/params.php` set your database details in `components.db` values. 3. In `common/config/params.php` set your database details in `components.db` values.
4. Apply migrations with console command 'yii migrate'.
4. Set document roots of your Web server: 5. Set document roots of your Web server:
- for frontend `/path/to/yii-application/frontend/web/` and using the URL `http://frontend/` - for frontend `/path/to/yii-application/frontend/web/` and using the URL `http://frontend/`
- for backend `/path/to/yii-application/backend/web/` and using the URL `http://backend/` - for backend `/path/to/yii-application/backend/web/` and using the URL `http://backend/`

Loading…
Cancel
Save