mirror of
https://github.com/YunoHost-Apps/diacamma_ynh.git
synced 2024-09-03 18:26:10 +02:00
112 lines
3.6 KiB
TOML
112 lines
3.6 KiB
TOML
packaging_format = 2
|
|
|
|
id = "diacamma"
|
|
name = "Diacamma"
|
|
|
|
description.en = "Management application for volunteers (association, condominium)"
|
|
description.fr = "Application de gestion pour les bénévoles (association, copropriété)"
|
|
|
|
version = "24.07.26.11~ynh1"
|
|
|
|
maintainers = ["Laurent Gay"]
|
|
|
|
[upstream]
|
|
license = " GPL-3.0-or-later"
|
|
website = "https://www.diacamma.org"
|
|
demo = "https://asso.diacamma.org"
|
|
code = "https://github.com/Diacamma2"
|
|
admindoc = "https://asso.diacamma.org/Docs"
|
|
|
|
[integration]
|
|
yunohost = '>= 11.2'
|
|
architectures = "all"
|
|
multi_instance = true
|
|
ldap = true
|
|
sso = false
|
|
disk = "50M"
|
|
ram.build = "50M"
|
|
ram.runtime = "50M"
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
type = "domain"
|
|
|
|
[install.path]
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
type = "path"
|
|
default = "/diacamma"
|
|
|
|
[install.init_main_permission]
|
|
# this is a generic question - ask strings are automatically handled by YunoHost's core
|
|
# This won't be saved as setting and will instead be used to initialize the SSOwat permission
|
|
type = "group"
|
|
default = "visitors"
|
|
|
|
[install.lct_appli]
|
|
ask.en = "Application"
|
|
ask.fr = "Application"
|
|
help.en = "What application do you want to install?"
|
|
help.fr = "Quelle application voulez-vous installer ?"
|
|
type = "select"
|
|
choices.asso = "Diacamma Asso"
|
|
choices.syndic = "Diacamma Syndic"
|
|
default = "asso"
|
|
|
|
[install.language]
|
|
ask.en = "Choose the application language"
|
|
ask.fr = "Choisissez la langue de l'application"
|
|
help.en = "This language will be used in the software installation"
|
|
help.fr = "Cette langue sera utiliser dans l'installation du logiciel"
|
|
type = "select"
|
|
choices = ["fr","en"]
|
|
default = "fr"
|
|
|
|
[install.archive]
|
|
ask.en = "Archive to upload"
|
|
ask.fr = "Archive à télécharger"
|
|
help.en = "Data from this archive will be loaded at installation"
|
|
help.fr = "Les données de cette archive seront chargées à l'installation"
|
|
type = "url"
|
|
optional = true
|
|
default = ""
|
|
|
|
[install.develop]
|
|
ask.en = "Use the development version"
|
|
ask.fr = "Utiliser la version de développement"
|
|
help.en = "Facility will use 'https://pypi.diacamma.org' as repository"
|
|
help.fr = "L'installation utilisera 'https://pypi.diacamma.org' comme dépot"
|
|
type = "boolean"
|
|
default = false
|
|
|
|
[resources]
|
|
# See the packaging documentation for the full set
|
|
# of explanation regarding the behavior and properties for each of those
|
|
# https://yunohost.org/packaging_apps_resources
|
|
|
|
[resources.system_user]
|
|
# This will provision/deprovision a unix system user
|
|
|
|
[resources.install_dir]
|
|
# This will create/remove the install dir as /var/www/$app
|
|
# and store the corresponding setting $install_dir
|
|
|
|
[resources.data_dir]
|
|
# This will create/remove the data dir as /home/yunohost.app/$app
|
|
# and store the corresponding setting $data_dir
|
|
|
|
[resources.permissions]
|
|
main.url = "/"
|
|
admin.show_tile = false
|
|
admin.allowed = "admins"
|
|
|
|
[resources.apt]
|
|
packages = "libxml2-dev,libxslt-dev,libjpeg-dev,libfreetype6,libfreetype6-dev,zlib1g-dev,libpq-dev,python3-pip,python3-dev,python3-tk,python3-pil,python3-venv,build-essential,pkg-config,postgresql,supervisor,jq"
|
|
|
|
[resources.ports]
|
|
# This will pick a random port for reverse-proxying and store it as the $port setting
|
|
[resources.database]
|
|
# This will automatically provision/deprovison a database and store the corresponding credentials in settings $db_user, $db_name, $db_pwd
|
|
type = "postgresql"
|
|
|