If Maven or Node.js crashes, increase your heap size (e.g., set NODE_OPTIONS=--max_old_space_size=4096 ).
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
Before starting, ensure your Windows 10 machine has at least 8GB of RAM (16GB recommended) and the following software installed: The backend runs on Java. Apache Maven 3.6+: Used to build the Java source code. PostgreSQL 11-15: The database engine. Apache Tomcat 9: The web server for the backend. Node.js (v16 or v18): Required for the Angular frontend. Yarn: Package manager for the frontend. Git for Windows: To clone the repositories. Solr 8.11: The search engine component. 1. Database Setup (PostgreSQL) Install PostgreSQL and open pgAdmin 4 . dspace 7 installation on windows 10
Create the DSpace cores (authority, oai, search, statistics) using the Solr admin interface or command line. 5. Frontend Installation (User Interface) Clone the dspace-angular repository.
Copy the contents of C:\dspace\webapps to your Tomcat webapps folder. If Maven or Node
Download the DSpace 7 Server source code from GitHub or the official website. Extract the files to a directory like C:\dspace-src . Navigate to C:\dspace-src\dspace\config . Copy local.cfg.EXAMPLE and rename it to local.cfg .
Edit local.cfg with your database credentials and installation path: dspace.dir = C:/dspace db.url = jdbc:postgresql://localhost:5432/dspace dspace.server.url = http://localhost:8080/server dspace.ui.url = http://localhost:4000 Build the Backend Open Command Prompt as Administrator in C:\dspace-src . Run: mvn package Set the rest connection settings to point to
Always use forward slashes / in local.cfg even on Windows to avoid escape character errors.