Merge branch 'config' of github.com:thelia/thelia into config
This commit is contained in:
11
Readme.md
11
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.
|
Create a mysql database and import sql dump files located in the install folder : thelia.sql first, then insert.sql.
|
||||||
|
|
||||||
Configure mysql connection :
|
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 :
|
* rename ```local/config/database.yml.sample"``` into ```local/config/database.yml```
|
||||||
- replace ```__DB_LOGIN__``` with your mysql user
|
* edit ```local/config/database.yml``` file and add needed information
|
||||||
- replace ```__DB_PASSWORD__``` with your mysql password
|
|
||||||
- replace ```__DB_NAME__``` with you database name
|
|
||||||
- replace ```__DB_HOST__``` with your mysql host
|
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ database:
|
|||||||
connection:
|
connection:
|
||||||
driver: mysql
|
driver: mysql
|
||||||
user: root
|
user: root
|
||||||
password: azerty
|
password:
|
||||||
dsn: mysql:dbname=thelia;host:localhost
|
dsn: mysql:dbname=thelia;host:localhost
|
||||||
Reference in New Issue
Block a user