/DSpace-codenvy

A fork of the (non-source) DSpace 6 distribution configured for execution on Codenvy

Primary LanguageShell

Updated Reference

See https://wiki.duraspace.org/display/~terrywbrady/Using+Published+DSpace+Images+in+Codenvy for updated instructions for using Codenvy with published DSpace Docker Images.

Overview

The following overview presentation was given to the DSpace Developer Show and Tell Meeting

GitPitch

Demonstration Video

Once you have a Codenvy account, the following workspace factory can be used as a quick start environment.

Codenvy Workspace Environment Variables

  • DSPACE_SRC
    • /projects/DSpace
    • /projects/DSpace-rel-demo
    • /home/user/dspace_src/DSpace
  • BASE_BRANCH (dspace-5_x|dspace-6_x|master)
  • DSPACE_INSTALL /home/user/dspace
  • LOAD_DIR /projects/DSpace-Codenvy/TestData
  • LOCAL_CFG (/projects/DSpace-Codenvy/local.cfg|/projects/DSpace-Codenvy/build.properties)
  • MVN_TARGET (package|package -Dmirage2.on=true)
  • DSPACE_VER (5|6|7)

Codenvy Dashboard Screenshot

Deployment Options

  • Use Codenvy as a deployment environment for DSpace (requires 3GB RAM)
    • DSPACE_SRC=/home/user/dspace_src/DSpace
  • Use Codenvy as an IDE/deployment environment for DSpace "release" code (requires 3GB RAM)
    • DSPACE_SRC=/projects/DSpace-rel-demo
  • Use Codenvy as an IDE/deployment environment for full DSpace "src" code (requires 5-6GB RAM)
    • DSPACE_SRC=/projects/DSpace

Related Repositories

Notes

  • It is possible to give Codenvy access to your GitHub credentials. I recommend using a secondary GitHub account with limited access rights.
  • This deployment scripts apply the following changes
    • Since this is a test environment, the solr service deployed with the localhost restriction removed
    • The legacy rest api is overridden to be accessible by http
  • OAI Service
    • The following settings (appropriate to runtime container) must be set to test the OAI Service
      • dspace.hostname = node12.codenvy.io:51943
      • dspace.baseUrl = http://node12.codenvy.io:51943
    • Note, the ORE component of the OAI service does not seem to work.
  • "mcedit" is available as an ad-hoc text editor on the server