Skip to content

Commit

Permalink
fix basic properties envs
Browse files Browse the repository at this point in the history
  • Loading branch information
ciusji committed Mar 10, 2023
1 parent 04ed32e commit 41e5b33
Show file tree
Hide file tree
Showing 36 changed files with 830 additions and 209 deletions.
24 changes: 10 additions & 14 deletions docs/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,22 @@ If you use Maven 3.8.1 or newer, please add the following mirror to your local
See [KEYCLOAK-17812](https://issues.redhat.com/browse/KEYCLOAK-17812) for more details.

---
First clone the Keycloak repository:
First clone the Morgana repository:

git clone https://github.com/keycloak/keycloak.git
cd keycloak
git clone https://github.com/MorganaToken/morgana-core.git
cd morgana-core

To build Keycloak run:
To build Morgana run:

mvn clean install

This will build all modules and run the testsuite.

To build the ZIP distribution run:

mvn clean install -Pdistribution
mvn clean install -Pdistribution -Dmaven.test.skip

Once completed you will find distribution archives in `distribution`.

To build only the server run:

mvn -Pdistribution -pl distribution/server-dist -am -Dmaven.test.skip clean install
Once completed you will find distribution archives in `morgana-core/quarkus/dist`.

---
**NOTE**
Expand All @@ -55,19 +51,19 @@ Classes from `org.keycloak.testsuite.*` packages aren't suitable to be used in p

Please, take a look at this [documentation](../quarkus/README.md).

## Starting Keycloak
## Starting Morgana

To start Keycloak during development first build as specified above, then run:

mvn -f testsuite/utils/pom.xml exec:java -Pkeycloak-server

When running testsuite, by default an account with username `admin` and password `admin` will be created within the master realm at start.

To start Keycloak from the server distribution first build the distribution it as specified above, then run:
To start Morgana from the server distribution first build the distribution it as specified above, then run:

tar xfz distribution/server-dist/target/keycloak-<VERSION>.tar.gz
tar xfz morgana-core/quarkus/dist/target/keycloak-<VERSION>.tar.gz
cd keycloak-<VERSION>
bin/standalone.sh
bin/kc.sh start-dev

To stop the server press `Ctrl + C`.

Expand Down
4 changes: 2 additions & 2 deletions js/apps/account-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<base href="./" />
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Web site to manage keycloak" />
<title>Keycloak account console</title>
<meta name="description" content="Morgana Account Console" />
<title>Morgana Account Console</title>
<style>
body {
margin: 0;
Expand Down
68 changes: 6 additions & 62 deletions js/apps/account-ui/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion js/apps/account-ui/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions js/apps/admin-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<base href="./" />
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Web site to manage keycloak" />
<title>Keycloak Administration UI</title>
<meta name="description" content="Morgana Administration UI" />
<title>Morgana Administration UI</title>
<style>
body {
margin: 0;
Expand Down
Loading

0 comments on commit 41e5b33

Please sign in to comment.