From 84f408e85e21ec8390cf44383dab2ff83b334622 Mon Sep 17 00:00:00 2001 From: Johnny Theill Date: Fri, 31 Jan 2014 18:39:10 +0100 Subject: [PATCH 1/2] Update .gitignore Local files should not be committed to version control --- apps/advanced/common/config/.gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/advanced/common/config/.gitignore b/apps/advanced/common/config/.gitignore index 46f6eb40a8..97c0f016ab 100644 --- a/apps/advanced/common/config/.gitignore +++ b/apps/advanced/common/config/.gitignore @@ -1 +1,2 @@ -params-local.php \ No newline at end of file +main-local.php +params-local.php From 0840e34546fe3d56d56c2fb7cd6c08fa08775029 Mon Sep 17 00:00:00 2001 From: Johnny Theill Date: Fri, 31 Jan 2014 18:41:38 +0100 Subject: [PATCH 2/2] Update README.md Fix path to config in readme --- apps/advanced/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/advanced/README.md b/apps/advanced/README.md index a1f79aa3a2..3bafa19847 100644 --- a/apps/advanced/README.md +++ b/apps/advanced/README.md @@ -81,7 +81,7 @@ 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. 1. Run command `init` to initialize the application with a specific environment. -2. Create a new database and adjust the `components.db` configuration in `common/config/params-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`. 4. Set document roots of your Web server: