Difference between revisions of "SUNScholar/XMLUI Theme/M2"
Jump to navigation
Jump to search
m (→Development) |
m (→Build Theme) |
||
| Line 29: | Line 29: | ||
*Add the following to the <tt><themes></tt> section of <tt>src/dspace/config/xmlui.xconf</tt>, replacing the currently active theme. | *Add the following to the <tt><themes></tt> section of <tt>src/dspace/config/xmlui.xconf</tt>, replacing the currently active theme. | ||
<theme name="Mirage 2" regex=".*" path="Mirage2/" /> | <theme name="Mirage 2" regex=".*" path="Mirage2/" /> | ||
| + | ===Custom Theme=== | ||
*Copy the source theme to the custom "modules" folder. | *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 | cp -R /home/dspace/source/dspace-xmlui-mirage2/src/main/webapp /home/dspace/source/dspace/modules/xmlui-mirage2/src/main/webapp | ||
Revision as of 09:43, 28 August 2014
Back to XMLUI Theme
Contents
Ubuntu Software
Open a new terminal and type:
- sudo apt-get install curl
- sudo apt-get install ruby-compass
- sudo apt-get install maven
- sudo apt-get install default-jre default-jdk
Node and Ruby Software
- 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
Bootstrap Software
Open a new terminal and type:
- nvm install 0.10.17
- nvm alias default 0.10.17
- npm install -g bower
- npm install -g grunt
- npm install -g grunt-cli
Build Theme
Type the following:
cd /home/dspace/source
mvn package -Dmirage2.on=true
- Add the following to the <themes> section of src/dspace/config/xmlui.xconf, replacing the currently active theme.
<theme name="Mirage 2" regex=".*" path="Mirage2/" />
Custom Theme
- 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
- https://github.com/DSpace/DSpace/tree/master/dspace-xmlui-mirage2
- https://github.com/atmire/DSpace/tree/master/dspace-xmlui-mirage2
- https://atmire.com/website/?q=content/fresh-look-and-feel-dspace-4
- http://duraspace.org/now-available-mirage-2-dspace-3-and-4
- https://atmire.com/website/?q=contributions/dspace-mirage-2
- http://www.duraspace.org/mirage-2-fresh-look-and-feel-dspace-4