From 859e115de7df97030d1979bce4240e6ade712dee Mon Sep 17 00:00:00 2001 From: Jean Pierre Huart Date: Fri, 26 Jun 2015 17:28:22 +0200 Subject: [PATCH 1/3] Update installation.rst --- source/installation/installation.rst | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/source/installation/installation.rst b/source/installation/installation.rst index 5ba03109e..24913bc64 100644 --- a/source/installation/installation.rst +++ b/source/installation/installation.rst @@ -29,7 +29,7 @@ Server requirements * php 5.5 * If you run Chill in production mode, you should also install a web server (apache, ngnix, ...). We may use php built-in server for testing and development. -Within this documentation, we are going to describe installation on Unix systems (Unix, Mac OS). Windows installation ha not been tested. +Within this documentation, we are going to describe installation on Unix systems (Unix, Mac OS). Windows installation has not been tested. You won't need any web server for setting up an instance for a demonstration or development. @@ -39,7 +39,7 @@ You won't need any web server for setting up an instance for a demonstration or .. note:: - To avoid installation and configuration of a postgresql server, you may use `our docker image `_ to start and configure a database. + To avoid installation and configuration of a postgresql server, you may use `our docker image `_ to start and configure a database. After `docker installation `_, run : @@ -55,7 +55,7 @@ You won't need any web server for setting up an instance for a demonstration or sudo docker port chill_db 5432 - This command will show on which port the docker container is listening, on your localhost. During the part :ref:`create-your-project` fill this port, and the address of the container (`localhost` or `127.0.0.1`). + This command will show on which port the docker container is listening, on your localhost. During the part :ref:`create-your-project` this is the value to be used to fill the field 'database_port'. Client requirements ^^^^^^^^^^^^^^^^^^^ @@ -67,9 +67,18 @@ Preparation You will need those informations : -* The informations to access to your database: host, port, database name, and your credentials (username and password) ; +* The information to access to your database: host, port, database name, and your credentials (username and password) ; * a random string, which will be use to improve entropy in security. Choose anything you want (random character, your father's birthplace, ...). +If you have installed the docker database your information should be: + - database_host: 127.0.0.1 + - database_port: [see above] + - database_name: postgres + - database_user: postgres + - database_password: postgres + - locale: fr + - secret: champs-libres + Installation ------------ @@ -149,7 +158,7 @@ You may accept the default parameters of `debug_toolbar`, `debug_redirects` and .. note:: - At the end of your installation, composer will warn you to execute database migration script, with this message : :: + At the end of the installation, composer will warn you to execute database migration script, with this message : :: Some migration files have been imported. You should run `php app/console doctrine:migrations:status` and/or From 2b0872ab7dc895ddd261a1a60ce12b57b86cc9c1 Mon Sep 17 00:00:00 2001 From: Jean Pierre Huart Date: Fri, 26 Jun 2015 17:30:23 +0200 Subject: [PATCH 2/3] Update installation.rst Details to be deleted --- source/installation/installation.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/source/installation/installation.rst b/source/installation/installation.rst index 24913bc64..4116262ed 100644 --- a/source/installation/installation.rst +++ b/source/installation/installation.rst @@ -77,7 +77,6 @@ If you have installed the docker database your information should be: - database_user: postgres - database_password: postgres - locale: fr - - secret: champs-libres Installation ------------ From 4408eea3b318354e9042f63989294ac828f085e8 Mon Sep 17 00:00:00 2001 From: Jean Pierre Huart Date: Fri, 26 Jun 2015 18:13:58 +0200 Subject: [PATCH 3/3] Changes to optional css install --- source/installation/installation.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/source/installation/installation.rst b/source/installation/installation.rst index 53f245fb6..b5d83dc43 100644 --- a/source/installation/installation.rst +++ b/source/installation/installation.rst @@ -217,11 +217,16 @@ A build version of the needed CSS file is provided within the main bundle `Resou .. code-block:: bash #in the main bundle directory ( vendor/chill-project/main/ ) - cd Resources/ - npm install - grunt + cd vendor/chill-project/main/Resources/ + npm install grunt +Go back to your project root before doing next step + +.. code-block:: bash + + cd path/to/your/directory + Launch your server ^^^^^^^^^^^^^^^^^^