Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.
Michael edited this page Sep 13, 2019 · 6 revisions

Welcome to the sw360chores wiki!

Installation Notes for Mac OS X Computers

Prerequisites

Steps 1: Setup Docker Environment

At first you may need to install a tool which computes hashes for the downloads to check their integrity:

$ brew install md5sha1sum

Then execute the main command for sw360chores:

$ ./sw360chores.pl --build -- up

Steps 2: Get the SW360 Software

You need to deploy the SW360 packages to the Liferay container. You can generate the packages from the SW360 project:

mvn package -P deploy
  -Dbase.deploy.dir=.
  -Dliferay.deploy.dir=/${path-to-chores}/sw360chores-master/_deploy/liferay
  -Dbackend.deploy.dir=/${path-to-chores}/sw360chores-master/_deploy/tomcat
  -Drest.deploy.dir=/${path-to-chores}/sw360chores-master/_deploy/tomcat

Note two things here:

  • The SW360 solution ha three major parts:
    • The portal needs to go into the Liferay deploy folder (named liferay here)
    • The backend needs to go into the tomcat webapps folder (named tomcat here)
    • The rest API components need to go into the tomcat webapps folder as well (named tomcat here)
  • If you want to build the packages and it fails (at the lib-datahandler) at some tests: in 99% of the cases there is no couchdb database server running which is required for tests. Try -DskipTestsif you would like to avoid it.
Clone this wiki locally