Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Changed instruction to a diff

...

Issue Tracking: https://jira.duraspace.org/browse/DWMVC

...

Checkout the source code.

Code Block
cd \~/project-webmvc
svn co httpco [http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.7.1/dspace/]
svn co httpco [http://scm.dspace.org/svn/repo/modules/webmvc/trunk/ webmvc] webmvc

Edit ~/project-webmvc/dspace/pom.xml and add an entry for webmvc.

Code Block
diff
diff

<!--
Builds Overlay Modules for DSpace
Index: pom.xml
===================================================================
--- pom.xml	(revision 6625)
+++ pom.xml	(working copy)
@@ -505,6 +505,7 @@
-->
<modules>
<module>modules</module>
+ <module>	<module>../webmvc</module>
</modules>

<build>

Compile everything, and add the war for freemarkerui to Tomcat

Code Block
cd dspace
mvn package
sudo mkdir /dspace
sudo chown dspace:dspace /dspace
cd target/dspace-1.7.1-build.dir
ant init_configs
ant update
sudo cp ~cp&nbsp;~/project-webmvc/webmvc/freemarkerui-webapp/target/dspace-freemarkerui-webapp-1.7.0-SNAPSHOT.war /var/lib/tomcat6/webapps
## Edit Edit&nbsp;/dspace/config/dspace.cfg tocfg&nbsp;to have your bootstrapping configs (i.e. dbname, password)
/etc/init.d/tomcat6 restarttomcat6&nbsp;restart

Test it out in your browser

Code Block
/opt/google/chrome/google-chrome [http://localhost:8080/dspace-freemarkerui-webapp-1.7.0-SNAPSHOT]
Code Block

Screenshots

Some examples, of what is currently available.

...