Installation Overview

As of version 7 (and above), the DSpace application is split into a "frontend" (User Interface) and a "backend" (Server API).  Most institutions will want to install BOTH.  However, you can decide whether to run them on the same machine or separate machines.

We recommend installing the Backend first, as the Frontend requires a valid Backend to run properly.

Installing the Backend (Server API)

These installation instructions are a work-in-progress and based heavily on the DSpace 6.x installation instructions.  Feedback or improvements are welcome.

Installing the Frontend (User Interface)

These installation instructions are a work-in-progress.  They do NOT yet include production-ready installation scenarios for running the (Angular) frontend via production tools like PM2 or Passenger.  Feedback or improvements are welcome.

Frontend Requirements

UNIX-like OS or Microsoft Windows

Node.js (v10.x or v12.x)

Yarn (v1.x)

DSpace 7.x Backend (see above)

Frontend Installation

At this time, installation requires checking out the codebase via Git.  In later Beta releases, we will provide prepackaged downloads.


  1. First, Install all the Installing DSpace (NEW) listed above.
  2. Download our "dspace-angular" application (which is the DSpace 7 user interface) using Git.  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
    
    


  3. Modify the Frontend configuration to point at your DSpace Backend
    1. By default the Frontend will be configured to use the Demo Backend at https://dspace7.4science.cloud/server/
    2. Modify the "rest" section of the [dspace-angular]/config/environment.default.js configuration file, pointing it at your installed DSpace Backend.  For example:


      // This example is valid if your Backend is running at http://localhost:8080/server/
      rest: {
         ssl: false,
         host: 'localhost',
         port: 8080,
         // NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
         nameSpace: '/server/api'
      }


    3. Alternatively, if you want, you can copy the "environment.default.js" to a new file called "environment.prod.js" and modify that new file.
  4. Start the application

    # build and start the application
    yarn start


    1. To stop the application at any time, use Ctrl + C
  5. After a few minutes, the user interface will be running on your local machine. 
    1. Visit http://localhost:3000/
    2. For an example of what the default frontend looks like, visit the Demo Frontend: https://dspace7-demo.atmire.com/