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

From Libopedia
Jump to navigation Jump to search
Line 6: Line 6:
 
#<tt>'''sudo apt-get install curl'''</tt>
 
#<tt>'''sudo apt-get install curl'''</tt>
 
#<tt>'''sudo apt-get install ruby-compass'''</tt>
 
#<tt>'''sudo apt-get install ruby-compass'''</tt>
===Node.js and Ruby Software===
+
===Node and Ruby Software===
 
#Install "node.js" software: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
 
#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 node version manager (nvm): https://github.com/creationix/nvm
 
#Install ruby version manager (rvm): http://rvm.io
 
#Install ruby version manager (rvm): http://rvm.io
 +
 
===Bootstrap Software===
 
===Bootstrap Software===
 
Open a new terminal and type:
 
Open a new terminal and type:

Revision as of 09:23, 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 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