Merge pull request 'Updates to README' (#2) from update5 into main

Reviewed-on: #2
Reviewed-by: Jan Dittberner <jandd@cacert.org>
This commit is contained in:
Jan Dittberner 2024-08-06 19:58:31 +00:00
commit 7b8bb69bcf

View file

@ -24,7 +24,7 @@ mkdir -p $HOME/.local/share/virtualenvs ~/.local/bin
python3 -m venv $HOME/.local/share/virtualenvs/ansible python3 -m venv $HOME/.local/share/virtualenvs/ansible
$HOME/.local/share/virtualenvs/ansible/bin/pip install ansible $HOME/.local/share/virtualenvs/ansible/bin/pip install ansible
ln -s $HOME/.local/share/virtualenvs/ansible/bin/ansible* $HOME/.local/bin/ ln -s $HOME/.local/share/virtualenvs/ansible/bin/ansible* $HOME/.local/bin/
export PATH=$HOME/.local/bin:$PATH export PATH=$HOME/.local/bin:$HOME/go/bin:$PATH
``` ```
*Note:* It is a good idea to put the `PATH` export line into your `.bashrc` or *Note:* It is a good idea to put the `PATH` export line into your `.bashrc` or
@ -80,8 +80,8 @@ Finally, change into the `oidc_registration` sub-directory.
### Continuing ### Continuing
At this point, you should have created all of the certificates and configuration files At this point, if you followed the Manual procedure, you should have created all
needed by this system. of the certificates and configuration files needed by this system.
### Build the applications ### Build the applications
@ -93,6 +93,11 @@ Use `make` to build the web app resources and applications:
go install github.com/nicksnyder/go-i18n/v2/goi18n@latest go install github.com/nicksnyder/go-i18n/v2/goi18n@latest
``` ```
## Deployment options
Before you continue, you need to make the binaries.
### Build the applications ### Build the applications
Use `make` to build the web app resources and applications: Use `make` to build the web app resources and applications:
@ -101,7 +106,8 @@ Use `make` to build the web app resources and applications:
make make
``` ```
## Deployment options Before continuing, you need to install Ansible. You can use the one in the Debian 12
repository. Just Apt-Get Install "ansible".
There are two deployment options for the Hydra server and for the custom applications: There are two deployment options for the Hydra server and for the custom applications:
@ -110,8 +116,6 @@ There are two deployment options for the Hydra server and for the custom applica
You only need one of these options. You only need one of these options.
Both options use [ansible](https://docs.ansible.com/) to:
- setup the Hydra authorization server - setup the Hydra authorization server
- setup IDP (provides login and consent screens) - setup IDP (provides login and consent screens)
- setup demo application - setup demo application