Difference between revisions of "SUNScholar/XMLUI Theme/M2"
Jump to navigation
Jump to search
m (→Development) |
m (→Software) |
||
| Line 14: | Line 14: | ||
#<tt>'''npm install -g grunt'''</tt> | #<tt>'''npm install -g grunt'''</tt> | ||
#<tt>'''npm install -g grunt-cli'''</tt> | #<tt>'''npm install -g grunt-cli'''</tt> | ||
| − | #<tt>'''gem install sass -v 3.2.10'''</tt> | + | #<tt>'''sudo gem install sass -v 3.2.10'''</tt> |
| − | #<tt>'''gem install compass'''</tt> | + | #<tt>'''sudo gem install compass'''</tt> |
===Development=== | ===Development=== | ||
Revision as of 04:33, 28 August 2014
Back to XMLUI Theme
Requirements
- Install "node.js" software: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
- Install node version manager (nvm): https://github.com/creationix/nvm
- Install ruby version manager (rvm): http://rvm.io
Software
Open a new terminal and type:
- sudo apt-get install ruby
- nvm install 0.10.17
- nvm alias default 0.10.17
- npm install -g bower
- npm install -g grunt
- npm install -g grunt-cli
- sudo gem install sass -v 3.2.10
- sudo gem install compass
Development
- Copy the source theme to the custom "modules" folder.
cp -R /home/dspace/source/dspace-xmlui-mirage2/src/main/webapp /home/dspace/source/dspace/modules/xmlui-mirage2/src/main/webapp