Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleBuild opencds-decision-support.war
cd ..
cd opencds-decision-support-service/
mvn install -Dmaven.test.skip=true
Code Block
languagebash
titleDownload opencds docker container:

...

code
languagebash
git clone https://bitbucket.org/opencds/opencds-docker

...

opencds-docker folder should look like this:

../opencds-docker/
├── Dockerfile
├── opencds-decision-support-service.war
├── opencds-knowledge-repository-data.jar
├── opencds.properties
├── readme.txt
├── run.sh
├── sec.xml
├── setenv.sh
└── tomcat-users.xml

...

Code Block
languagebash
titleCreate container
sudo docker run -d -p 8080:8080 -p 8443:8443 -p 2222:22 --name opencds opencds/opencds:ubuntu

...

Basically, you have to manually place the pkg file that is generated by guvnor inside of the knowledgePackages folder and modify the knowledgeModules.xml accordingly.  After this you will need to restart opencds or call the reload URL.  Please see “Exporting a Knowledge Module to OpenCDS – File-Based” for more information.