From 8a3a823ee5b9d7cb3cc0bfa8907467e8523613c6 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Fri, 29 Mar 2013 08:55:54 +0100 Subject: [PATCH] add new instructions for configuring database --- Readme.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Readme.md b/Readme.md index 5ac859d01..b1eac602d 100644 --- a/Readme.md +++ b/Readme.md @@ -23,16 +23,9 @@ $ php composer.phar install Create a mysql database and import sql dump files located in the install folder : thelia.sql first, then insert.sql. Configure mysql connection : -``` bash -$ cd local/config -$ cp config_db.mysql.php config_db.php -``` -Edit config_db.php file and fulfill your mysql connection parameters : -- replace ```__DB_LOGIN__``` with your mysql user -- replace ```__DB_PASSWORD__``` with your mysql password -- replace ```__DB_NAME__``` with you database name -- replace ```__DB_HOST__``` with your mysql host +* rename ```local/config/database.yml.sample"``` into ```local/config/database.yml``` +* edit ```local/config/database.yml``` file and add needed information Usage -----