diff -r d7fbe237f779 -r bd3747a1cd5f cms/README.md
--- a/cms/README.md Fri Jan 22 16:02:37 2016 +0100
+++ b/cms/README.md Fri Jan 22 16:03:37 2016 +0100
@@ -10,8 +10,10 @@
## Installation
-* `npm install --prefix app-client/` (install the dependencies of the ember app)
-* `npm install`
+* `npm install` (install gulp and some dependencies)
+* In the /app-client directory
+ * `npm install` (install the dependencies of the ember app)
+ * `bower install`
### Building
@@ -21,8 +23,29 @@
It will first run `npm run build --prefix app-client` which will build the ember app, and then run `gulp copy-module` to copy the built files into the module folder.
+**Don't Forget !**
+
+If the config/environnement.js has been modified, you must get the new meta line in dist/index.html
+> ``
+
+And copy it in corpus_module/corpus.module in the function `corpus_page()`
+```php
+ 'meta', // The #tag is the html tag -
+ '#attributes' => array( // Set up an array of attributes inside the tag
+ 'name' => 'app-client/config/environment',
+ 'content' => 'ELEMENTS_FROM_CONFIG'
+ ),
+ );
+ ```
+
+ Finally replace the `baseStatic` value by `/'.drupal_get_path('module', 'corpus').'/app-client/`. This way, Drupal will fill the value with the correct path to the corpus module.
+
### Deploy
-Once the module has been updated with the correct built app, you can compress it and share it.
-To include the compressed module to a Drupal website, simply unzip the module and place it in the modules/ folder in your Drupal project.
-Report to the README inside the module folder for further informations.
+Once the module has been updated with the correct built app, you can **compress** it and **share it**.
+To include the compressed module to a Drupal website, simply **unzip** the module and place it in the `modules/ folder` in your Drupal project.
+Report to the **README** inside the module folder for further informations.