[RECOMMENDED] Setup a Github Personal Access Token as mentioned here, then skip to step 3.
If you would like to build required DCSA packages individually, begin with step 1.
-
Clone DCSA-IOT-Commercial (with
--recurse-submodules
option.) and Build using,mvn package
-
Initialize your local postgresql database as described in datamodel/README.md
or If you have docker installed, you may skip this step and use the docker-compose command mentioned below to set it up (This will initialize the application along with the database). -
Run application,
mvn spring-boot:run [options]
options:
-Dspring-boot.run.arguments="--DB_HOSTNAME=localhost:5432 --LOG_LEVEL=DEBUG"
OR using docker-compose
docker-compose up -d -V --build
- Verify if the application is running,
curl http://localhost:9090/v1/actuator/health
This reference implementation does not do any authentication/authorization and should not be used in production as is. Using this as is in production would expose data for all parties to all other parties without checking whether they should have access.