1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galette_ynh.git synced 2024-09-03 18:36:28 +02:00
galette_ynh/manifest.toml
2023-11-11 15:26:34 +01:00

80 lines
1.8 KiB
TOML

packaging_format = 2
id = "galette"
name = "Galette"
description.en = "Membership management web application for non profit organizations"
description.fr = "Outil de gestion d'adhérents et de cotisation en ligne pour associations"
version = "1.0.0~ynh1"
maintainers = []
[upstream]
license = "GPL-3.0-or-later"
website = "https://www.galette.eu"
demo = "https://demo.galette.eu/login"
admindoc = "https://doc.galette.eu/fr/master/"
code = "https://github.com/galette/galette"
[integration]
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = false
sso = false
disk = "50M"
ram.build = "150M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/galette"
[install.init_main_permission]
type = "group"
default = "visitors"
[install.admin]
type = "user"
[install.password]
type = "password"
[install.database]
ask.en = "Choose SQL database you want"
ask.fr = "Choisissez la base de données SQL souhaitée"
type = "select"
choices = ["postgresql", "mysql"]
default = "postgresql"
[resources]
[resources.sources.main]
url = "https://github.com/galette/galette/releases/download/1.0.0rc2/galette-1.0.0-rc2-20231017-a030a93d5e.tar.bz2"
sha256 = "ad3d7aaf46b8a0980ddb9e98fb22db10d0d01b6742f1272b577e573791b16313"
[resources.system_user]
allow_email = true
[resources.install_dir]
[resources.permissions]
main.url = "/"
[resources.apt]
packages = "php8.2-tidy, php8.2-intl, php8.2-mbstring, php8.2-xml, php8.2-gd, php8.2-curl"
packages_from_raw_bash = """
if [[ "$database" == "mysql" ]]; then
echo "mariadb-server, php8.2-mysql"
elif [[ "$database" == "postgresql" ]]; then
echo "postgresql, postgresql-contrib, php8.2-pgsql"
fi
"""