Skip to content

Commit

Permalink
fix(docs) : #3224 (#3225)
Browse files Browse the repository at this point in the history
  • Loading branch information
maduvena authored Dec 6, 2022
1 parent cc00a71 commit 085c550
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 1 deletion.
57 changes: 56 additions & 1 deletion docs/admin/config-guide/jans-cli/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,60 @@ tags:
- commandline
---

This is a placeholder
---
tags:
- administration
- configuration
- cli
- commandline
---

Configure the Janssen server using the `jans-cli-tui` a Text based User Interface app which can be installed on any PC

### To Build
```
pip3 install shiv
wget https://github.com/JanssenProject/jans/archive/refs/heads/main.zip -O jans-main.zip
unzip jans-main.zip
cd jans-main/jans-cli-tui/
make zipapp
```

### To Execute

```
./config-cli-tui.pyz
```

You will be prompted for credentials if you do not have ` ~/.config/jans-cli.ini`.
Contact your administrator for credentials.

```
cat /opt/jans/jans-setup/setup.properties.last | grep role
role_based_client_encoded_pw=4jnkODv3KRV6xNm1oGQ8+g\=\=
role_based_client_id=2000.eac308d1-95e3-4e38-87cf-1532af310a9e
role_based_client_pw=GnEkCqg4Vsks
```

### Installing with pip from GitHub

```
pip3 install https://github.com/JanssenProject/jans/archive/refs/heads/main.zip#subdirectory=jans-cli-tui
```

Execute:

```
config-cli-tui
```

Obtain Credidentials for CLI from the Janssen server:

```
# cat /opt/jans/jans-setup/setup.properties.last | grep role
role_based_client_encoded_pw=dDpwNN3lv94JF+ibgVFT7A\=\=
role_based_client_id=2000.076aa5d9-fa8d-42a0-90d2-b83b5ea535d5
role_based_client_pw=mrF8tcBd6m9Q
```

`role_based_client_id` is the **Client ID** and `role_based_client_pw` is the **Client Secret**
8 changes: 8 additions & 0 deletions docs/admin/install/install-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,14 @@ Individual modules of the Janssen Server will continue to write their operationa

-----------------------------

## How do I check the version of Janssen server?

```commandline
/opt/jans/bin/show_version.py
```

-----------------------------

## After installation, what's next?

After successful installation of the Janssen Server, move on to the [configuration steps](../config-guide/jans-cli/cli-index/) in the Command Line Interface documentation to align Janssen with your organizational requirements.

0 comments on commit 085c550

Please sign in to comment.