mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Update apps-advanced.md
Should run migration to import yii tbl_user if not the sign up/login may report error.
This commit is contained in:
@ -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/`
|
||||
|
Reference in New Issue
Block a user