1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00
flarum_ynh/manifest.toml

100 lines
3.1 KiB
TOML
Raw Normal View History

2023-02-19 18:59:53 +01:00
packaging_format = 2
id = "flarum"
name = "Flarum"
description.en = "Next-generation forum made simple"
description.fr = "Forum de nouvelle génération, simplement"
description.de = "Forum der nächsten Generation leicht gemacht"
2023-09-23 06:16:01 +02:00
version = "1.8.2~ynh1"
2023-02-19 18:59:53 +01:00
maintainers = ["tituspijean"]
[upstream]
license = "MIT"
website = "https://flarum.org"
demo = "https://discuss.flarum.org/d/21101-demos-come-to-flarum"
admindoc = "https://docs.flarum.org"
code = "https://github.com/flarum/framework"
cpe = "cpe:2.3:a:flarum:flarum"
fund = "https://flarum.org/donate/"
[integration]
2023-09-14 15:23:23 +02:00
yunohost = ">= 11.2"
2023-02-19 18:59:53 +01:00
architectures = "all"
multi_instance = true
ldap = true
sso = false
2023-02-21 22:50:06 +01:00
disk = "80M"
ram.build = "400M"
ram.runtime = "50M"
2023-02-19 18:59:53 +01:00
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/flarum"
[install.admin]
type = "user"
[install.password]
help.en = "Choose your password. It will be useful if logging in from YunoHost fails or is disrupted."
help.fr = "Choisissez votre mot de passe. Il sera utile si la connexion via YunoHost échoue ou est perturbée."
type = "password"
[install.title]
ask.en = "Choose a title for your forum"
ask.fr = "Choisissez un titre pour votre forum"
ask.de = "Wählen einen Titel für eure Internetforum"
type = "string"
example = "My forum"
default = "My forum"
[install.init_main_permission]
2023-09-14 15:23:23 +02:00
help.en = "If set to 'visitors', it will be open to all visitors like any forum. If private, only the YunoHost server users can access it."
help.fr = "Si défini sur 'visiteurs', le forum sera accessible à tous, comme pour tout forum. Si privé, seuls les utilisateurs du serveur YunoHost pourront y accéder."
2023-02-19 18:59:53 +01:00
type = "group"
default = "visitors"
[install.language]
ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application"
ask.de = "Wählen Sie eine Sprache"
2023-09-14 15:23:23 +02:00
type = "select"
2023-02-19 18:59:53 +01:00
choices = ["fr", "en", "de"]
default = "en"
[resources]
2023-09-14 15:23:23 +02:00
2023-09-23 22:36:31 +02:00
# The main source is only used to auto-update the package
2023-09-14 15:23:23 +02:00
[resources.sources.main]
2023-09-23 22:36:31 +02:00
prefetch = false
2023-09-23 06:16:01 +02:00
url = "https://github.com/flarum/framework/archive/refs/tags/v1.8.2.tar.gz"
sha256 = "b1db07a9f0bdbd1b04b22e3c460de7e830f41d0c6f92264338309dbb7e148b1d"
2023-09-23 22:36:31 +02:00
autoupdate.upstream = "https://github.com/flarum/framework"
autoupdate.strategy = "latest_github_tag"
# The flarum source is the one actually being installed
[resources.sources.flarum]
2023-09-24 06:15:48 +02:00
url = "https://github.com/flarum/flarum/archive/refs/tags/v1.8.0.tar.gz"
sha256 = "33e0722882670b217637e6c3e410056be6b999507ee68567415f1adb4a064929"
2023-09-23 22:36:31 +02:00
autoupdate.upstream = "https://github.com/flarum/flarum"
2023-09-14 15:23:23 +02:00
autoupdate.strategy = "latest_github_tag"
2023-02-19 18:59:53 +01:00
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
[resources.apt]
2023-09-14 15:23:23 +02:00
packages = "mariadb-server, php8.2-curl, php8.2-dom, php8.2-gd, php8.2-mbstring, php8.2-pdo-mysql, php8.2-tokenizer, php8.2-zip, php8.2-ldap"
2023-02-19 18:59:53 +01:00
[resources.database]
type = "mysql"