Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better docs on configuration settings #119

Open
Jonathan-Caruana opened this issue Feb 15, 2023 · 2 comments
Open

Add better docs on configuration settings #119

Jonathan-Caruana opened this issue Feb 15, 2023 · 2 comments

Comments

@Jonathan-Caruana
Copy link

Hi !

I recently updated my previous Mokey installation from 0.5.6 to 0.6.3 and i didn't find how i can change some visual things like add personnal logo or change colors like i did before.

Previously i was able to do those changes and more (customize email template, error page etc...)

Can you help me please?

Regards,

@Jonathan-Caruana
Copy link
Author

Jonathan-Caruana commented Feb 15, 2023

I think i found the problem 👍

the mokey.toml provided by the rpm i used doesn't contain all settings :


#------------------------------------------------------------------------------
# Site specific configuration
#------------------------------------------------------------------------------
[site]
# Name of your site
name = "Connectics Self-service portal"

# Homepage of your organization
homepage = ""

# Link to your sites help pages
help_url = ""

# Link to your getting started guide
getting_started_url = ""

# Link to your terms of service
tos_url = ""

# User account for the mokey service
ktuser = "mokeyapp"

# Path to keytab file
keytab = "/etc/mokey/private/mokeyapp.keytab"

Nevertheless the mokey.toml.sample provide all settings i need :

https://github.com/ubccr/mokey/blob/main/mokey.toml.sample

# Path to custom favicon.ico file
favicon = ""

# Path to logo
logo = ""

# Path to custom css styles file
css = ""

# Path to local template override directory. You can override one or more
# of the templates using this directory
# templates_dir = "/usr/share/mokey/templates"

Maybe the rpm file need to be updated?

Regards

@aebruno
Copy link
Member

aebruno commented Feb 15, 2023

@Jonathan-Caruana Thanks for the feedback. I'll include a better default mokey.toml config with the rpm/deb packages in the next release.

@aebruno aebruno changed the title Customization Add better docs on configuration settings Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants