1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/question2answer_ynh.git synced 2024-09-03 20:16:07 +02:00
question2answer_ynh/manifest.toml
2024-02-29 22:20:50 +01:00

96 lines
2.5 KiB
TOML

#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "question2answer"
name = "Question2Answer"
description.en = "Platform for Question&Answer sites."
description.fr = "Plateforme de Question/Réponses."
version = "1.8.8~ynh1"
maintainers = ["Nils Van Zuijlen"]
[upstream]
license = "GPL-2.0-or-later"
website = "https://www.question2answer.org"
demo = "http://demo.question2answer.org"
admindoc = "https://docs.question2answer.org"
code = "https://github.com/q2a/question2answer"
[integration]
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = true
sso = false
disk = "50M"
ram.build = "50M"
ram.runtime = "70M"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/question2answer"
[install.init_main_permission]
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.q2a_name]
ask.en = "Choose the site name"
ask.fr = "Choisissez le nom de votre Question2Answer"
type = "string"
default = "My Question2Answer forum"
[resources]
[resources.sources.main]
url = "https://github.com/q2a/question2answer/releases/download/v1.8.8/question2answer-1.8.8.zip"
sha256 = "1456ef9ebd4e8029e43e819be158a69f73c919ca38350f230fece1a6907ec4d2"
autoupdate.strategy = "latest_github_release"
autoupdate.asset = "^question2answer-.*\\.zip$"
[resources.sources.ldap]
url = "https://github.com/zakkak/qa-ldap-login/archive/857ad8bf3ca891cb33fa6e8816ed0d3e198c1afc.tar.gz"
sha256 = "9f45f391c83b2fea42d4d171208a96c839d2b08e936db6e079530db9bf6f7d15"
autoupdate.upstream = "https://github.com/zakkak/qa-ldap-login"
autoupdate.strategy = "latest_github_commit"
[resources.sources.lang_fr]
url = "https://github.com/mrflos/q2a-lang-fr/archive/2e36c9d3121a77f236db0e265e6fb587ed154b54.tar.gz"
sha256 = "34571341339a928d047c65b3da82166dbdc26f84d44dea2fae85e21db1e7aa43"
autoupdate.upstream = "https://github.com/mrflos/q2a-lang-fr"
autoupdate.strategy = "latest_github_commit"
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
[resources.apt]
packages = [
"mariadb-server",
"php8.0-fpm",
"php8.0-cli",
"php8.0-mysql",
]
[resources.database]
type = "mysql"