Skip to content

Commit

Permalink
Modifying gitignore and Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
srprasanna committed Feb 19, 2024
1 parent 3a3cfc3 commit 942a400
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 22 deletions.
34 changes: 12 additions & 22 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
bin/
out/
eclipse_plugin/lib/
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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_image_path>:<docker_tag> .
docker push <docker_image_path>:<docker_tag>
```

0 comments on commit 942a400

Please sign in to comment.