This article provides a comprehensive, step-by-step guide to installing DSpace 7.x (Backend and Frontend) on a Windows 10 machine. 1. Prerequisites and System Requirements
Configure config/config.prod.yml to connect to your REST API backend ( http://localhost:8080/server ). 5.3. Run Frontend Run the UI in development mode: yarn start Use code with caution. The frontend should be accessible at http://localhost:4000 . 6. Post-Installation Steps 6.1. Create Administrator Account
: Used to compile the DSpace backend source code. Download the binary zip from the Apache Maven Project.
: It automatically bundles the database, Solr search index, REST API, and user interface. System Demand : You must allocate at least 6GB–8GB of RAM specifically to Docker for DSpace to run smoothly. Prerequisites : You only need to install Docker Desktop for Windows Google Groups 2. Manual Installation Prerequisites
In the box, append the following lines on new lines: -Dfile.encoding=UTF-8 -Xmx2048m -Xms1048m Use code with caution.
Open local.cfg in a text editor. Modify the following parameters: properties
If you'd like to dive deeper into a specific step, tell me if you need help with: for local production testing Setting up Solr cores manually via the command line
For the command-line tools to work properly, you must configure your system's Environment Variables.
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.
Open a terminal in the folder and run: npm install (or yarn install ). Create a config/config.prod.yml file. Set the rest connection settings to point to your backend: ssl: false , host: localhost , port: 8080 , nameSpace: /server Build the UI: npm run build:prod . Start the UI: npm run serve:ssr . Access the interface at http://localhost:4000 . 💡 Troubleshooting Tips
export const environment = ui: ssl: false, host: 'localhost', port: 4000, nameSpace: '/' , rest: ssl: false, host: 'localhost', port: 8080, nameSpace: '/server' ; Use code with caution. Step 6.4: Build and Start the Frontend Compile the production Angular application: cd C:\dspace-src\frontend yarn build:prod Use code with caution.
CREATE USER dspace WITH PASSWORD 'dspace'; CREATE DATABASE dspace OWNER dspace; GRANT ALL PRIVILEGES ON DATABASE dspace TO dspace;
Minimum 8 GB (16 GB highly recommended, as running Tomcat, Solr, Node.js, and PostgreSQL simultaneously is resource-intensive). Storage: At least 10 GB of free space. Required Software Versions Operating System: Windows 10 (64-bit) Java Development Kit (JDK): Oracle JDK or OpenJDK 11 or 17 Database: PostgreSQL 11, 12, 13, 14, or 15 Build Tools: Apache Maven 3.6+ and Apache Ant 1.10+ Servlet Container: Apache Tomcat 9 Search Engine: Apache Solr 8.11.x Frontend Runtime: Node.js v16 or v18 & Yarn package manager Step 1: Install and Configure Pre-requisites 1. Java Development Kit (JDK 11) Download OpenJDK 11 or Oracle JDK 11 Windows x64 Installer. Run the installer and complete the setup.
Congratulations! You have successfully completed the manual installation of DSpace 7 on your Windows 10 machine. You have set up a full-fledged, modern digital repository system, including the database, the Solr search index, the Spring Boot backend, and the Angular frontend.
Install Node.js (Active LTS version) and Yarn ( npm install -g yarn ). 5.2. Download and Configure Frontend Clone the frontend code: git clone https://github.com Run yarn install .
If you'd like to tailor your DSpace 7 instance further, let me know:
-- Create the dspace database user CREATE USER dspace WITH PASSWORD 'dspace_password_here'; -- Create the dspace database owned by the user CREATE DATABASE dspace OWNER dspace ENCODING 'UNICODE'; -- Grant privileges (Optional but recommended for clean setup) GRANT ALL PRIVILEGES ON DATABASE dspace TO dspace; Use code with caution.