(Note: If Apache Ant is not installed, you can use the embedded Ant wrapper or install Ant and add it to your Path variables). 4. Deploying the Backend on Apache Tomcat
Edit config/config.prod.yml or config/config.yml (for development). Update the rest section to point to your Tomcat server:
rest.cors.allowed-origins = http://localhost:4000,http://localhost:4200
dspace.server.url = http://localhost:8080/server dspace.ui.url = http://localhost:4000 dspace 7 installation on windows 10
Note: You may need to install Apache Ant if not already present. 3. Configuring Apache Tomcat
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.
Install the tool included in the bundle for easier database management. Node.js (v16 or v18) and Yarn Download and install Node.js (LTS version). Open Command Prompt and install Yarn globally by running: npm install --global yarn Use code with caution. Git for Windows (Note: If Apache Ant is not installed, you
If Tomcat crashes or throws OutOfMemoryError , open the Tomcat configuration utility ( tomcat9w.exe ), go to the Java tab, and increase the Initial Memory Pool to 1024 MB and Maximum Memory Pool to 2048 MB .
Add C:\dspace\bin to your PATH. Also ensure C:\dspace\config\local.cfg exists.
npm install
This guide uses DSpace 7.6 (the latest stable release as of writing) and assumes you are installing in development mode for testing or local use. For production, adjust security and service settings accordingly.
Add/modify system variables:
cd C:\dspace-src\dspace\target\dspace-installer mvn clean package Update the rest section to point to your
git clone https://github.com cd dspace-angular git checkout dspace-7.6 Use code with caution. Install dependencies: yarn install Use code with caution. 3.3 Configure Configuration
Paste them into C:\Solr\server\solr\configsets\ (or directly into C:\Solr\server\solr\ depending on your Solr setup mode). Restart Solr: solr.cmd restart Use code with caution. Deploy to Tomcat