From 942a4009e466de864c56f3fdb3665ef45fba4e77 Mon Sep 17 00:00:00 2001 From: Prasanna S R Date: Mon, 19 Feb 2024 09:07:07 +0530 Subject: [PATCH] Modifying gitignore and Readme --- .gitignore | 34 ++++++++++++---------------------- README.md | 16 ++++++++++++++++ 2 files changed, 28 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index a317fe1..4e7f83e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,25 +1,15 @@ -# Compiled class file -*.class +.idea/ +*.ims +*.iml -# Log file -*.log +.classpath +.project +.factorypath +.settings/ +.apt_generated/ -# BlueJ files -*.ctxt +target/ -# Mobile Tools for Java (J2ME) -.mtj.tmp/ - -# Package Files # -*.jar -*.war -*.nar -*.ear -*.zip -*.tar.gz -*.rar - -# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml -hs_err_pid* -replay_pid* -.idea \ No newline at end of file +bin/ +out/ +eclipse_plugin/lib/ \ No newline at end of file diff --git a/README.md b/README.md index 37262a8..24e0e6f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,18 @@ # sunbird-rc-keycloak Sunbird Variant of Keycloak + +### How to build from source +* Run the following commands +```bash +cd keycloak-mobile-number-login-spi +./mvnw clean install +mkdir -p ../keycloak/providers && cp target/keycloak-mobile-number-login-spi-1.0-SNAPSHOT.jar ../keycloak/providers +``` +* This will build the Sunbird Keycloak plugin. +* Once this is done, we will need to create the docker image and publish to our Docker repository +```bash +cd ../keycloak +docker build -t : . +docker push : +``` +