Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The modern web technologies that power Mirage 2 include a precompiler (Compass), a package manager (Bower) and a task runner (Grunt). These tools can only be installed when some prerequisites are present on the system. DSpace's Maven build process is capable of making a temporary installation of these dependencies just so the theme can be built. However the overall build time will be significantly shortened if these dependencies are manually installed on the system More information on the prerequisites.(see below for more info).

By default, DSpace does not build the Mirage 2 theme (as it lengthens the normal build process).  However, you can easily tell DSpace to build Mirage 2 by running the following from your [dspace-source] directory:

Code Block
mvn package -Dmirage2.on=true

...

After building Mirage 2, you can install it this theme into your DSpace installation by simply re-running Ant from [dspace-source]/dspace/target/dspace-installer/ :

Code Block
ant update

To enable Mirage 2, add the following to the <themes> section of your xmlui.xconf, replacing the currently active theme:

...