mirror of
https://github.com/YunoHost-Apps/pytition_ynh.git
synced 2024-09-03 20:16:08 +02:00
79 lines
2 KiB
TOML
79 lines
2 KiB
TOML
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
packaging_format = 2
|
|
|
|
id = "pytition"
|
|
name = "Pytition"
|
|
description.en = "Host privacy-friendly online petitions"
|
|
description.fr = "Hébergez des pétitions en ligne respectueuses de la vie privée"
|
|
|
|
version = "2.8~ynh1"
|
|
|
|
maintainers = ["Salamandar"]
|
|
|
|
[upstream]
|
|
license = "BSD-3-Clause"
|
|
website = "https://pytition.org"
|
|
demo = "https://demo.pytition.org"
|
|
admindoc = "https://pytition.readthedocs.io/en/latest/"
|
|
code = "https://github.com/pytition/Pytition"
|
|
|
|
[integration]
|
|
yunohost = ">= 11.1.18"
|
|
architectures = "all"
|
|
multi_instance = true
|
|
ldap = false
|
|
sso = false
|
|
disk = "50M"
|
|
ram.build = "50M"
|
|
ram.runtime = "50M"
|
|
|
|
[install]
|
|
[install.domain]
|
|
type = "domain"
|
|
|
|
[install.path]
|
|
type = "path"
|
|
default = "/pytition"
|
|
|
|
[install.init_main_permission]
|
|
help.en = "If private, only Yunohost users will be able to sign petitions."
|
|
help.fr = "Si privé, seuls des utilisateurs Yunohost pourront signer des pétitions."
|
|
type = "group"
|
|
default = "visitors"
|
|
|
|
[install.language]
|
|
ask.en = "Choose the application language"
|
|
ask.fr = "Choisissez la langue de l'application"
|
|
type = "select"
|
|
choices = ["fr", "en"]
|
|
default = "fr"
|
|
|
|
[install.admin]
|
|
type = "user"
|
|
|
|
[install.password]
|
|
help.en = "Administrator password"
|
|
help.fr = "Mot de passe administrateur"
|
|
type = "password"
|
|
|
|
[resources]
|
|
[resources.sources.main]
|
|
url = "https://github.com/pytition/Pytition/archive/refs/tags/v2.8.tar.gz"
|
|
sha256 = "4e27c80401114f9c7b79ce24668fc0a40b43023b38ebe9e76c120f652f498f41"
|
|
|
|
[resources.system_user]
|
|
|
|
[resources.install_dir]
|
|
|
|
[resources.permissions]
|
|
main.url = "/"
|
|
|
|
admin.url = "/admin"
|
|
admin.show_tile = false
|
|
admin.allowed = "admins"
|
|
|
|
[resources.apt]
|
|
packages = "mariadb-server python3 virtualenv gettext libzip-dev libssl-dev default-libmysqlclient-dev uwsgi uwsgi-plugin-python3 python3-uwsgidecorators"
|
|
|
|
[resources.database]
|
|
type = "mysql"
|