You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
Steps to run SCIM server locally. First four steps are to install docker on Mac.
- Download Docker Toolbox from https://www.docker.com/products/docker-toolbox and install it. It's a simple few steps wizard. By default, it will be installed in /usr/local/bin.
- Launch Docker Quick Start Terminal (First time when you open this application, it will create a "default" machine under ~/.docker)
- Towards the bottom of the terminal, there will be a message something like: docker is configured to use the default machine with IP 192.168.99.100
Set the environment variables below. Chane the DOCKER_CERT_PATH value. DOCKER_HOST is the same as mentioned in step 3.
export DOCKER_TLS_VERIFY="1"
export DOCKER_CERT_PATH="/Users/vsachdeva/.docker/machine/machines/default"
export DOCKER_MACHINE_NAME="default"
- Run command: "docker run hello-world" from the terminal. I run it just to make sure that the installation was correct.
- Checkout scim project by running: "git clone https://github.com/PennState/SCIMple-Identity.git" (It should automatically be on develop branch. Switch if already not)
- Checkout tier project by running: "git clone https://github.com/PennState/tier.git" (It should automatically be on develop branch. Switch if already not)
- Checkout commons-jaxrsby running: "git clone https://github.com/PennState/commons-jaxrs.git" (It should automatically be on develop branch. Switch if already not)
- Run "mvn clean install" from common-jaxrs project
- Run "mvn clean install" from SCIMple-Identity project
- Run "mvn clean install -Pdocker" from tier project (It might take a few minutes the first time since it has to download the jboss/widlflyimage from internet). If it fails saying: Failed to execute
goal io.fabric8:docker-maven-plugin:0.14.2:build (build) on projecteduperson-scim-web: Unable to build image [eduperson-scim-server]: Unknown instruction: --SILENT. In the eduperson-scim-web/pom.xml, put --silent in the same line as the command. It's around line # 108. - Run "docker run --rm -it -p 8080:8080 -p 9990:9990 eduperson-scim-server"
- Hit this URL http://192.168.99.100:8080/tier/v2/Schemas to verify that server is up and running (You might have to change the IP. It would be same as in step # 3 above)
- You can access the management console of wildfly server by going to http://192.168.99.100:9990/