Contribute to the DSpace Development Fund

The newly established DSpace Development Fund supports the development of new features prioritized by DSpace Governance. For a list of planned features see the fund wiki page.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 28 Next »

Please keep in mind that, as DSpace 7 is under active development, this release does not include all DSpace features.  It is NOT PRODUCTION READY. Where a feature is not yet available, we've greyed out / disabled the link in the user interface.  See DSpace Release 7.0 Status for more details on estimated timelines, etc.

Overview

DSpace 7 brings to DSpace a single, modern user interface and REST API and integrates current technological standards and best practices. This new UI combines with the existing core backend of DSpace 6, resulting in a lean, responsive, next-generation repository.

The preview release provides a first look at many of the new features that make DSpace 7 the largest development effort in the history of the software:

  • New Angular UI that is modern, responsive, and built using a Bootstrap theme for easy customization. See demo site at https://demo7.dspace.org/
  • A completely redesigned REST API that is self-documenting and human browsable. See demo site at https://api7.dspace.org/server/ 
  • Redesigned submissions and workflows featuring a one page submission process with a drag-and-drop interface and newly redesigned MyDSpace.
  • Configurable entities, an optional new item type inspired by the DSpace-CRIS project that allows for complex linked relationships between items. DSpace 7 will include the option to implement this feature for two use cases popular with the DSpace community:

DSpace 7 builds on DSpace 6 to create a modern and future-focused repository. The backend restructuring from DSpace 6 is retained and combined with the features above to create a powerful repository designed to address current user needs and plan for future standards.  

DSpace 7 is the first version of DSpace to be developed using test-driven development practices designed to identify and address issues earlier in the development process and lead to more stable releases. It is also the first release to use a working group model for decisions related to design and development.

See the DSpace 7 Release Notes for more information on this release.

Try it out using the Demo Site

If you want to quickly test out the latest DSpace 7 code, you may do so using our demo site.

Keep in mind, our User Interface Demo uses the REST API Demo as the backend.  So, any content created (by anyone) will immediately appear in both locations.

Installation

Currently, we offer three different ways to install / run DSpace 7 locally.  The route you choose may depend on exactly what you'd like to try out.  Choose ONE of the following:

  1. Install via Docker (Recommended if you just want to try it out quickly)- This is the easiest/quickest way to get everything running locally (no matter your technical skills).  We even have a script to automatically load some test data and test accounts into your Docker instance.
  2. Install the User Interface only, while using the demo REST API backend - This is the easiest way to try out just the User Interface locally.  Keep in mind, by default, the User Interface will be installed to use our DSpace 7 REST API Demo as a backend.  Therefore, you will be interacting with the content on that demo site and will need to use the login information for the demo site (see above)
  3. Install both the User Interface and REST API locally (bring your own test content).  This is a fully manual local installation. Keep in mind this installation process is may still change slightly before the final 7.0 release.

Install via Docker

Running DSpace 7 via Docker allows you to quickly & easily install and start up all the "parts" of DSpace (database, Solr index, REST API, user interface) without having to install them all yourself.  This will work on any operating system (Windows 10, Mac OS, or Linux). 

  1. First, install the necessary prerequisites: Docker and Git
    1. On Windows 10:
      1. Install Docker Desktop for Windows
      2. Install Git Bash & verify the installation by running "git version" from Command Prompt or Powershell
    2. On Mac OS:
      1. Install Docker Desktop for Mac
      2. Git may already be installed. Run "git version" from your terminal to see if it's available. If Git is not yet installed, you will be prompted to install developer tools.  If that approach doesn't work, Git may also be downloaded.
    3. On Linux:
      1. Install Docker Engine for your Linux OS
      2. Git may already be installed. Run "git version" to check for it. If it is not installed, install Git using your package manager (e.g. sudo apt-get install git)
  2. Next, using Git, download (clone) the DSpace Angular UI codebase & move into that codebase directory
    # Download the UI codebase
    git clone https://github.com/DSpace/dspace-angular.git
    # Move into the created codebase directory
    cd dspace-angular
  3. Using the Docker instructions in that codebase, start up both the DSpace 7 REST API and Angular UI via Docker
    1. First, pull down the latest version of the Docker images:  

      docker-compose -f docker/docker-compose.yml pull
    2. Optionally, you can choose to locally rebuild the Angular UI (This is only needed, if you want to try out local changes/customizations to that Angular UI. Otherwise, if you just want to run the default Angular UI, you can skip this step entirely.): 

      docker-compose -f docker/docker-compose.yml build
    3. Finally, start up both the Angular UI and REST API via Docker: 

      docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml up -d
      1. If you'd like to monitor the startup process, you can "tail" the logs using "logs -f": 

        docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml logs -f
      2. If anything goes wrong, occasionally a simple restart of the images will resolve it.  Just do a "down" followed by an "up -d" again:
        # Shut down everything
        docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml down
        # Restart everything
        docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml up -d
  4. At this point, you should be able to see a completely empty DSpace 7 site.  You may now choose to either add test/demo content (see step #5 below) and/or add an initial Administrator account (see step #6 below).
    1. User Interface: http://localhost:4000/
    2. REST API: http://localhost:8080/server/
  5. Next, optionally, you can add test data to your Docker instance. We have two sets of test data available depending on what you want to test out. CHOOSE ONE.
    1. [Option #1: Use AIP test data] We have a set of AIP (Archival Information Package) data which was exported from a DSpace 6.x instance. This test data is good to get a quick feel for the changes in DSpace 7 compared to DSpace 6.  It's also the easiest to quickly import as we have an ingest script written for Docker using the "dspace-cli" container. Just run: 

      # If you don't have an Admin created with the email "test@test.edu", create it. The AIP ingest runs as that user by default.
      docker-compose -p d7 -f docker/cli.yml run --rm dspace-cli create-administrator -e test@test.edu -f admin -l user -p admin -c en
      
      # This second command will import a batch of test/sample AIPs (see "cli.ingest.yml" for more info)
      docker-compose -p d7 -f docker/cli.yml -f ./docker/cli.ingest.yml run --rm dspace-cli
    2. [Option #2: Use a database dump of Entities test data] Alternatively, if you'd like to instead test the new Configurable Entities features, we have a separate database dump which provides Entity test data.  (This test data is not yet available in AIP format).  Here's how you'd switch your Docker instance to using the Configurable Entities test data
      1. First, you unfortunately need to completely shut down any running volumes and remove them. We will be replacing them with a database dump of Entity test data.

        # Shut down the running containers
        docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml down
        
        # Remove any existing volumes
        docker volume rm $(docker volume ls -q)
      2. Now, let's recreate those containers with the Configurable Entities test data included:

        # NOTE: the `db.entities.yml` here will startup a database image with Entities test data included (from a database dump)
        docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml -f docker/db.entities.yml up -d
        
        # Once started, also load up the Entities test "assetstore" (files) & trigger a reindex
        docker-compose -p d7 -f docker/cli.yml -f docker/cli.assetstore.yml run --rm dspace-cli
  6. Finally, in order to have an initial login, let's create an initial Administrator account using the "dspace-cli" container:

    # This example creates an Admin user with email "test@test.edu" and password "admin".
    # (You may have already created this user above, before loading AIP test data. If so, you can skip this)
    docker-compose -p d7 -f docker/cli.yml run --rm dspace-cli create-administrator -e test@test.edu -f admin -l user -p admin -c en
  7. After a few minutes, you should have a full local installation of DSpace 7 Preview (with test data).
    1. User Interface: http://localhost:4000/
    2. REST API: http://localhost:8080/server/ 
    3. Admin Login: (whatever login you setup via the "dspace-cli" command above)
  8. Objects/Pages of interest (within the test data):
    1. Journal Example represents a journal with journal volumes, issues and articles, as detailed in the Configurable Entities Design.
    2. Publications Example contains publications which contain a combination of plain-text authors and related author entities. It also contains relations to Research Projects and Organizational Units, as detailed in the Configurable Entities design. Navigating to e.g. a Person will reveal their relations to Publications, Research Projects and Organizational Units.
    3. Submission/Workflow functionality can be tested using one of the collections in this community where the workflow is enabled. You can use the accounts mentioned above to perform the submission and workflow steps. The admin account can perform the submission and all workflow steps as well.
    4. Once logged in, MyDSpace functionality is found in the user menu (upper right).  Submissions can be started from that page, or via the "New → Item" admin menu (if logged in as an Admin).
  9. Once you are done testing, you can stop Docker and clean up the data (deleting the volumes). 

    # Shut down the running containers
    docker-compose -p d7 -f docker/docker-compose.yml -f docker/docker-compose-rest.yml down
    
    # Remove all volumes, images, etc (This removes all the existing data and images)
    docker system prune --volumes

Install the User Interface only

The instructions below are meant as a quick guide for how to install the User Interface quickly & use the REST API demo as a backend.  Please keep in mind the official installation instructions are at Installing DSpace

Running only the DSpace 7 user interface can be done quickly & easily on any operating system (Windows, Mac OS, or Linux).  By default, the installed user interface will use the DSpace 7 REST API Demo (https://api7.dspace.org/server/as its backend.  This means that you will immediately see test data (from that demo site) and be able to interact with it.  However, you will need to authenticate using the REST API Demo account. Any changes you make will also obviously appear on that shared REST API Demo site.

  1. First, you will need to install the necessary prerequisites.
    1. Git is required.  If you do not already have it installed (try running git version at your command line), you can install it via https://git-scm.com/downloads (or via your local package manager tools for Linux or Mac OS)
    2. Node.js (v10.x or v12.x) is required. Installing the latest LTS (Long Term Support) version, currently 10.x, is perfectly fine.
      1. NPM (v5.x or above) is required.  Don't worry, this gets installed with Node.js though, so you don't need to do anything extra here.
    3. Yarn (v1.x or above) package manage.  Just install the latest stable version (currently 1.16.x).
  2. Then, download our "dspace-angular" application (which is the DSpace 7 user interface) and run it.  All you should need to do is the steps in the "Quick Start" at: https://github.com/DSpace/dspace-angular/#quick-start

    # clone the repo
    git clone https://github.com/DSpace/dspace-angular.git
    
    # change directory to our repo
    cd dspace-angular
    
    # install the local dependencies
    yarn install
    
    # start the server
    yarn start
  3. After a few minutes, the user interface will be running on your local machine.  Again, it will be accessing the REST API Demo site, so a stable internet connection is required.
    1. User Interface: http://localhost:4000/
    2. REST API (remote demo site): https://api7.dspace.org/server/
    3. Admin Login: dspacedemo+admin@gmail.com, Password: dspace
    4. Submitter Login: dspacedemo+submit@gmail.com, Password: dspace
  4. Objects/Pages of interest (within the test data):
    1. Journal Example represents a journal with journal volumes, issues and articles, as detailed in the Configurable Entities Design.
    2. Publications Example contains publications which contain a combination of plain-text authors and related author entities. It also contains relations to Research Projects and Organizational Units, as detailed in the Configurable Entities design. Navigating to e.g. a Person will reveal their relations to Publications, Research Projects and Organizational Units.
    3. Submission/Workflow functionality can be tested using one of the collections in this community where the workflow is enabled. You can use the accounts mentioned above to perform the submission and workflow steps. The admin account can perform the submission and all workflow steps as well.
    4. Once logged in, MyDSpace functionality is found in the user menu (upper right).  Submissions can be started from that page, or via the "New → Item" admin menu (if logged in as an Admin)
  5. One you are done testing, you can stop the locally running DSpace 7 user interface via Ctrl+C

Install both the User Interface and REST API locally

The DSpace 7 installation process describes manually installing both the frontend (User Interface) and backend (REST API) of DSpace 7 on a local machine. The frontend and backend need not be installed on the same machine.

Keep in mind the installation process here may change prior to DSpace 7.0 final. This should be considered an early version of the installation process, and we welcome feedback or improvements to this documentation.

Reporting Issues

As you try out DSpace 7, you may run across a bug, issue or oddity (afterall, it's still under active development).  Here's how to report those so they get resolved before the final 7.0 release:

  • First, if you aren't sure whether it's a bug or want advice, feel free to ask on Slack.  The DSpace 7 development team uses the #angular-ui channel (for UI discussions) and #rest-api channel (for REST API discussions). Though even reporting it on #dev (general developer channel) is perfectly fine.
  • If you are sure it's an issue, create an issue ticket 
  • Once it is reported, we'll analyze it and schedule it to be completed (based on priority).  Please make sure to note how you found this issue and/or any steps to reproduce it.

Want to help out?

Thank you first for trying out DSpace 7!  Reporting issues (see above) or simply trying things out is already a big help.  However, there are other ways you can contribute and help make DSpace 7 even better (and/or help it get released even more quickly):

  • Translate DSpace 7.  If you know another language (or two or three) and want to help us with our translations, see DSpace 7 Translation - Internationalization (i18n) - Localization (l10n)
  • Help us improve the DSpace 7 Documentation.  While we do our best to get our development team to write some basic Documentation for every new feature, we know that documentation is sometimes a bit technical or not as user friendly as it could be. (No offense to our developers, they are doing what they do best, help us build great new features!)  If you are interested in helping us improve our Documentation, see DSpace 7 Documentation.  We especially could use help writing new end user documentation (e.g. how to do ___ in the DSpace 7 user interface), as we have a brand new user interface!
  • Help us fix bugs or review new features as they are built. If you are a bit more technical, we could use more developers willing to chip in on small bugs and/or do some quick testing (or review) of new GitHub Pull Requests.  The more testers & bug fixers we have, the quicker we can move (as all Pull Requests require testing/review from at least 2 others).  So, this sort of contribution can quite literally help us get DSpace 7 out the door more quickly!  No prior Angular or Java experience is necessary (in fact, it's a great way to learn the code or gain such experience), but you should be OK with testing PRs and providing your feedback.  Contact Tim Donohue or join a future DSpace 7 Working Group meeting.
  • No labels