Subversion Repositories wimsdev

Rev

Rev 10445 | Rev 11388 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10445 Rev 10963
Line 14... Line 14...
14
## Install Grunt :
14
## Install Grunt :
15
    npm update
15
    npm update
16
    npm install -g grunt-cli
16
    npm install -g grunt-cli
17
 
17
 
18
 
18
 
19
# Upgrade
19
# Upgrade package manager
20
---------
20
-------------------------
21
from `_packages` directory :
21
from `_packages` directory :
22
 
22
 
23
    npm update
23
    npm update
24
    npm install -g bower
24
    npm install -g bower
25
    npm install -g grunt-cli
25
    npm install -g grunt-cli
26
    bower update -p
26
    bower update -p
27
 
27
 
28
 
28
 
29
# Manage Bower Packages
29
# Manage Bower Packages
30
-----------------------
30
-----------------------
31
 
31
 
32
## list all installed plugins :
32
## List all installed plugins :
33
    bower list
33
    bower list
34
 
34
 
35
## update Javascripts plugins via Bower :
35
## Update Javascripts plugins via Bower :
36
    bower update --save
36
    bower update --save
-
 
37
*nb : After each jquery-ui update, look at these URL :*
-
 
38
 
-
 
39
* Tabs : [searchform](http://localhost/wims/wims.cgi?cmd=new&module=home&search_keywords=oef&search_category=A&search_lang=fr#searchform)
-
 
40
* Menu : [H6/algebra/docnatural.fr](http://localhost/wims/wims.cgi?module=H6/algebra/docnatural.fr)
37
 
41
 
38
## update Javascripts plugins for production (without devDepedencies) :
42
## Update Javascripts plugins for production (without devDepedencies) :
39
    bower update -p
43
    bower update -p
40
 
44
 
41
 
45
 
42
# Download new Package(s)
46
# Download new Package(s)
43
-------------------------
47
-------------------------
44
    bower install <package> --save
48
    bower install <package> --save
45
 
49
 
46
 
50
 
47
# Migrate files from _packages/ to wims/
51
# Migrate files from _packages/ to wims/
48
  #  After each update, Grunt is handy to automatically compress js + css, and move each files at is wims destination. simply call "grunt"
52
  #  After each update, Grunt is handy to automatically compress js + css, and move each files at is wims destination. simply call "grunt"
-
 
53
 
49
    grunt
54
    grunt
50
 
55
 
51
#  Documentations
56
#  Documentations
52
------------------------
57
-----------------
53
* [Bower docs](http://bower.io/docs/creating-packages/)
58
* [Bower docs](http://bower.io/docs/creating-packages/)
54
* [Grunt HowTo (video fr)](http://www.grafikart.fr/tutoriels/grunt/grunt-introduction-470)
59
* [Grunt HowTo (video fr)](http://www.grafikart.fr/tutoriels/grunt/grunt-introduction-470)
55
* [Grunt "getting started"](http://gruntjs.com/getting-started)
60
* [Grunt "getting started"](http://gruntjs.com/getting-started)