- https://docs.docker.com/install/linux/docker-ce/debian/
- https://docs.docker.com/install/linux/docker-ce/ubuntu/
sudo usermod -aG docker $(whoami)
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo apt install openjdk-8-jdk
cd ~
curl -O http://ftp.tc.edu.tw/pub/Apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
tar xvf apache-maven-3.6.3-bin.tar.gz
export PATH=$HOME/apache-maven-3.6.3/bin:$PATH
cd ~/src
git clone https://github.com/eclipse/sw360.git
git clone https://github.com/sw360/sw360chores.git
Build and install the Thrift from source code to /usr/local/bin/thrift
:
cd ~/src/sw360
./scripts/install-thrift.sh
rm -rf ~/src/sw360chores/_deploy
cd ~/src/sw360
mvn clean
mvn package -P deploy -Dbase.deploy.dir=$HOME/src/sw360chores/_deploy -DskipTests
- It seems the README is not correct: sw360/sw360chores#69
Modify the SW360_HOST
setting in the ~/src/sw360chores/configuration/sw360/sw360.env
:
SW360_PROTOCOL=https
SW360_HOST=localhost
SW360_HTTP_PORT=-1
SW360_HTTPS_PORT=8443
cd ~/src/sw360chores
./sw360chores.pl --build -- up
- Go to https://IP_ADDRESS:8443/web/guest
- Sign in with account
setup@sw360.org
, passwordsw360fossy
- You'll get a
Not Found
message after login. Do not worry that is alright for the moment.Not Found The requested resource could not be found. https://192.168.56.102:8443/group/guest/home
- Open the panel on the left side by clicking the button on the top left.
- Go to
Control Panel
->Configuration
->Instance settings
. - Click on
Users
(inside sectionPlatform
). - Click on
Default User Associations
on the left side. - Fill the field
Sites
on the top withSW360
and click onSave
. - This way newly created users are automatically assigned to the site SW360 and can access the content on it.
- Open the panel on the left side by clicking the button on the top left.
- Go to
SW360
->Publishing
->Import
. - Import the following page archives (in that order) from
/home/roy/src/sw360/frontend/configuration
...Public_Pages.lar
Private_Pages.lar
- ...by following theses steps:
- Click on
+
on the top right. - Select the appropiate file and click
Continue
. - Select
Public Pages
orPrivate Pages
depending on the prefix of the filename. - Enable all following options:
Theme Settings
Logo
Site Page Settings
Site Template Settings
- Enable
Delete Missing Pages
only when importPrivate Pages
. - No options need to be checked inside section
DELETIONS
. - Check
Import Permissions
inside sectionPERMISSIONS
. - Expand section
Update Data
and selectMirror with overwriting
. - Expand section
Authorship of the Content
and selectUse the Current User as Author
. - Click
Import
.
- Click on
- Go into
Admin
->User
- Upload this file: https://github.com/sw360/sw360chores/blob/master/miscellaneous/test_users_with_passwords_12345.csv
- Go to the SW360 site
- Login as account
user
with password12345
After doing all that the component page says "Components is temporarily unavailable."
& fossology page says "Fossology Administration is temporarily unavailable. "