From c1d387f242b89076a6f4b66e2153b8908c4e45bc Mon Sep 17 00:00:00 2001 From: Thomas Metois Date: Tue, 12 Apr 2016 17:40:50 +0200 Subject: [PATCH] Update README.md --- README.md | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ec49b4e..97be8fa 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,14 @@ The recommended way to get a working copy of this project is to clone the reposi and use `composer` to install dependencies using the `create-project` command: curl -s https://getcomposer.org/installer | php -- - php composer.phar create-project -sdev --repository-url="https://rhea.netlor.fr:3000/CASES/skeleton.git" monarc/skeleton-application path/to/install + php composer.phar create-project -sdev --repository="https://rhea.netlor.fr/CASES/skeleton/raw/master/packages.json" monarc/skeleton ./monarc Alternately, clone the repository and manually invoke `composer` using the shipped `composer.phar`: cd my/project/dir - git clone ssh://gogs@rhea.netlor.fr:2222/CASES/skeleton.git - cd ZendSkeletonApplication + git clone ssh://gogs@rhea.netlor.fr:2222/CASES/skeleton.git ./monarc + cd monarc php composer.phar self-update php composer.phar install -o @@ -58,3 +58,24 @@ project and you should be ready to go! It should look something like below: Allow from all + + +Database connection +------------------- + +Create file `config/autoload.local.php`: + + return array( + 'doctrine' => array( + 'connection' => array( + 'orm_default' => array( + 'params' => array( + 'host' => 'host', + 'user' => 'user', + 'password' => 'password', + 'dbname' => 'monarc', + ), + ), + ), + ), + );