update README file to reference the task available in grunt
authorrougeronj
Fri, 24 Apr 2015 18:01:45 +0200
changeset 431 1387779706e5
parent 430 d3ae63bc18c6
child 432 24754fe4baaf
update README file to reference the task available in grunt
client/README.md
--- a/client/README.md	Fri Apr 24 18:01:02 2015 +0200
+++ b/client/README.md	Fri Apr 24 18:01:45 2015 +0200
@@ -313,8 +313,18 @@
         }
     });
 
+## Dev
 
-
+We offer a environment to develop without having to build all the project manually after each change. We define few grunt task to help us
+making it easier. You can launch them by running './node_modules/.bin/grunt task'.
+* 'dev': will build th project but let the temporary file like templates.js to let us test the application through the test files
+(see 'Tests' part below). Then it will launch a small testing server and watch the modifications of the js/css/html to build the project
+again in case of any change.
+ 
+Tasks for production :
+* 'default': will build the project and clean the temporary files (like templates.js) used during development and building.
+* 'copy-server': will copy the built project to the server side.
+ 
 ## Tests
 
 Because of a simple php file enabling persistent connection, you can not test the writables examples by only opening them in your browser.