Difference between revisions of "SUNScholar/XMLUI Theme/M2"

From Libopedia
Jump to navigation Jump to search
m
Line 12: Line 12:
 
===Bootstrap Software===
 
===Bootstrap Software===
 
Open a new terminal and type:
 
Open a new terminal and type:
#<tt>'''sudo apt-get install ruby-compass'''</tt>
 
 
#<tt>'''nvm install 0.10.17'''</tt>
 
#<tt>'''nvm install 0.10.17'''</tt>
 
#<tt>'''nvm alias default 0.10.17'''</tt>
 
#<tt>'''nvm alias default 0.10.17'''</tt>

Revision as of 09:22, 28 August 2014

Back to XMLUI Theme

Ubuntu Software

Open a new terminal and type:

  1. sudo apt-get install curl
  2. sudo apt-get install ruby-compass

Node.js and Ruby Software

  1. Install "node.js" software: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
  2. Install node version manager (nvm): https://github.com/creationix/nvm
  3. Install ruby version manager (rvm): http://rvm.io

Bootstrap Software

Open a new terminal and type:

  1. nvm install 0.10.17
  2. nvm alias default 0.10.17
  3. npm install -g bower
  4. npm install -g grunt
  5. npm install -g grunt-cli
  6. sudo gem install sass -v 3.2.10
  7. sudo gem install compass

Development

  • Build theme.
cd /home/dspace/source/dspace-xmlui-mirage2/src/main/webapp
npm install
  • 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

Bootstrap Framework

References