{"action":"opened","issue":{"url":"https://api.github.com/repos/apereo/cas-webapp-docker/issues/26","repository_url":"https://api.github.com/repos/apereo/cas-webapp-docker","labels_url":"https://api.github.com/repos/apereo/cas-webapp-docker/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/apereo/cas-webapp-docker/issues/26/comments","events_url":"https://api.github.com/repos/apereo/cas-webapp-docker/issues/26/events","html_url":"https://github.com/apereo/cas-webapp-docker/issues/26","id":381304241,"node_id":"MDU6SXNzdWUzODEzMDQyNDE=","number":26,"title":"Clarification of the setup","user":{"login":"mudrd8mz","id":85831,"node_id":"MDQ6VXNlcjg1ODMx","avatar_url":"https://avatars3.githubusercontent.com/u/85831?v=4","gravatar_id":"","url":"https://api.github.com/users/mudrd8mz","html_url":"https://github.com/mudrd8mz","followers_url":"https://api.github.com/users/mudrd8mz/followers","following_url":"https://api.github.com/users/mudrd8mz/following{/other_user}","gists_url":"https://api.github.com/users/mudrd8mz/gists{/gist_id}","starred_url":"https://api.github.com/users/mudrd8mz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mudrd8mz/subscriptions","organizations_url":"https://api.github.com/users/mudrd8mz/orgs","repos_url":"https://api.github.com/users/mudrd8mz/repos","events_url":"https://api.github.com/users/mudrd8mz/events{/privacy}","received_events_url":"https://api.github.com/users/mudrd8mz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-15T19:22:30Z","updated_at":"2018-11-15T19:22:30Z","closed_at":null,"author_association":"NONE","body":"I've spent a while setting up CAS 5.3.x and this is a summary of what I learned to make it running. Details below are relevant to particular issues discussed in #17 and #20.\r\n\r\n1. Clone https://github.com/apereo/cas-webapp-docker and change directory into the clone.\r\n\r\n2. Apply the following patch to make it use the correct branch:\r\n\r\n```\r\n    diff --git a/Dockerfile b/Dockerfile\r\n    index 9cd4edc9d2..6f272ce1bc 100644\r\n    --- a/Dockerfile\r\n    +++ b/Dockerfile\r\n    @@ -45,7 +45,7 @@ RUN cd / \\\r\n     \r\n     # Download the CAS overlay project \\\r\n     RUN cd / \\\r\n    -    && git clone --depth 1 --single-branch https://github.com/apereo/cas-overlay-template.git cas-overlay \\                                                                              \r\n    +    && git clone --depth 1 --single-branch --branch 5.3 https://github.com/apereo/cas-overlay-template.git cas-overlay \\                                                                 \r\n         && mkdir -p /etc/cas \\\r\n         && mkdir -p cas-overlay/bin;\r\n```\r\n\r\n3. The keystore coming with the repository is empty. Add a new self-signed entry into the keystore so that SSL will work in Tomcat:                                                                       \r\n\r\n```\r\n    $ keytool -genkeypair -alias cas -keyalg RSA -keypass changeit -storepass changeit -keystore ./thekeystore \\                                                                              \r\n        -dname \"CN=cas.example.org,OU=Example,OU=Org,C=AU\" -ext SAN=\"dns:example.org,dns:localhost,ip:127.0.0.1\"                                                                              \r\n```\r\n\r\n3. Build it.\r\n\r\n```\r\n    ./build.sh 5.3.5\r\n```\r\n\r\n4. Run it.\r\n\r\n```\r\n    ./run.sh 5.3.5\r\n```\r\n\r\n5. Add cas.example.org to your hosts file.\r\n\r\n```\r\n    # echo '127.0.0.1 cas.example.org' >> /etc/hosts\r\n```\r\n\r\n6. Go to https://cas.example.org:8443/cas/login\r\n"}}
{"actor":{"display_login":"mudrd8mz"}}