Flatpak usage
Obtaining flatpak bundles
Download a flatpak bundle from the artifacts of the flatpak-add-config CI job.
A list of persistent source uri's should be added to this file. (TODO)
Installing flatpak bundles
Install the flatpak bundle with the command (where pep.flatpak
is the name of the downloaded file):
flatpak --user install pep.flatpak
Using pepcli with flatpak
When the flatpak is installed, the most convenient way to use pepcli is by installing the CLI integration (where nl.ru.cs.pep.example-acc
should be replace by the actual flatpak URI/domain, URI can be autocompleted on the console):
flatpak run nl.ru.cs.pep.example-acc install-cli-integration
This will install the CLI integration scripts to ~/bin
. Make sure this location is in your $PATH by adding it in e.g. .bashrc
or .zshrc
.
You can now logon using example-acc-pepLogon
and run pepcli commands using example-acc-pepcli
(e.g. example-acc-pepcli query enrollment
). This way you can also work with different PEP environments.
You can also activate PEP for a specific environment by running
example-acc-activate
You can now use the commands pepcli
, pepLogon
and pepAssessor
.
example-acc-activate
will also ask whether you want to install autocompletions. It uses sudo
for this, so you need to have sudo-access, and can be prompted for your password.