From 2cfccc0fb674a4e055616bd01ef17e403a7908ae Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Mon, 20 Jul 2015 18:08:21 +0200 Subject: [PATCH] feature #3748: Fix sunstone readme style --- src/sunstone/public/README.md | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/src/sunstone/public/README.md b/src/sunstone/public/README.md index b72a700582..6e8d29aa4c 100644 --- a/src/sunstone/public/README.md +++ b/src/sunstone/public/README.md @@ -3,21 +3,29 @@ Sunstone depnedencies 1. Install nodejs and npm 2. Install the following npm packages: - `sudo npm install -g bower` - `sudo npm install -g grunt` - `sudo npm install -g grunt-cli` + ``` + sudo npm install -g bower + sudo npm install -g grunt + sudo npm install -g grunt-cli + ``` 3. Move to the Sunstone public folder and run: - `npm install` - `bower install` + ``` + npm install + bower install + ``` Building minified JS and CSS files ================================== 4. Run the following command to generate the app.css file in the css folder: - `grunt sass` + ``` + grunt sass + ``` 5. Run the following command to generate the minified js files in the dist foler and the app.min.css in the css folder: - `grunt requirejs` + ``` + grunt requirejs + ``` These are the files generate by the grunt requirejs command: ``` @@ -33,7 +41,9 @@ Scons ===== Scons includes an option to build the minified JS and CSS files. Steps 1, 2 and 3 have to be performed before running this command - `scons sunstone=yes` + ``` + scons sunstone=yes + ``` Install.sh ==========