From 3a9b6da55b1431d45a540357f0f668b1eb6bc060 Mon Sep 17 00:00:00 2001 From: kk_loke86 Date: Sun, 24 Nov 2013 09:13:50 +0800 Subject: [PATCH] Update apps-advanced.md Should run migration to import yii tbl_user if not the sign up/login may report error. --- docs/guide/apps-advanced.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/apps-advanced.md b/docs/guide/apps-advanced.md index 890b1e9..5090b00 100644 --- a/docs/guide/apps-advanced.md +++ b/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`. 3. In `common/config/params.php` set your database details in `components.db` values. - -4. Set document roots of your Web server: +4. Apply migrations with console command 'yii migrate'. +5. Set document roots of your Web server: - 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/`