Versions Compared

Key

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

...

  1. First, install all the 183076538 listed above.
  2. Download
  3. our "
  4. the latest dspace-angular
  5. " 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 Code Block# clone the repo git clone https://github.com/DSpace/dspace-angular.git
  6. release from the DSpace GitHub repository. You can choose to either download the zip or tar.gz file provided by GitHub, or you can use "git" to checkout the appropriate tag (e.g. dspace-7.0-beta1) or branch.
  7. Install all necessary local dependencies by running the following from within the unzipped "dspace-angular" directory

    Code Block
    # change directory to our repo
    cd dspace-angular
    
    # install the local dependencies
    yarn install

  8. 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:


      Code Block
      // 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.
  9. Start the application

    Code Block
    # build and start the application
    yarn start


    1. To stop the application at any time, use Ctrl + C
  10. 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/

...