mirror of
https://github.com/YunoHost-Apps/cachet_ynh.git
synced 2024-09-03 18:16:03 +02:00
Merge branch 'master' into testing
This commit is contained in:
commit
e056bdea15
4 changed files with 16 additions and 8 deletions
|
@ -32,7 +32,6 @@ Cachet is a status page for your API, service or company. Built with all of the
|
||||||
* Official app website: <https://cachethq.io>
|
* Official app website: <https://cachethq.io>
|
||||||
* Official admin documentation: <https://docs.cachethq.io>
|
* Official admin documentation: <https://docs.cachethq.io>
|
||||||
* Upstream app code repository: <https://github.com/CachetHQ/Cachet>
|
* Upstream app code repository: <https://github.com/CachetHQ/Cachet>
|
||||||
* YunoHost documentation for this app: <https://yunohost.org/app_cachet>
|
|
||||||
* Report a bug: <https://github.com/YunoHost-Apps/cachet_ynh/issues>
|
* Report a bug: <https://github.com/YunoHost-Apps/cachet_ynh/issues>
|
||||||
|
|
||||||
## Developer info
|
## Developer info
|
||||||
|
|
|
@ -32,7 +32,6 @@ Cachet is a status page for your API, service or company. Built with all of the
|
||||||
* Site officiel de l’app : <https://cachethq.io>
|
* Site officiel de l’app : <https://cachethq.io>
|
||||||
* Documentation officielle de l’admin : <https://docs.cachethq.io>
|
* Documentation officielle de l’admin : <https://docs.cachethq.io>
|
||||||
* Dépôt de code officiel de l’app : <https://github.com/CachetHQ/Cachet>
|
* Dépôt de code officiel de l’app : <https://github.com/CachetHQ/Cachet>
|
||||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_cachet>
|
|
||||||
* Signaler un bug : <https://github.com/YunoHost-Apps/cachet_ynh/issues>
|
* Signaler un bug : <https://github.com/YunoHost-Apps/cachet_ynh/issues>
|
||||||
|
|
||||||
## Informations pour les développeurs
|
## Informations pour les développeurs
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
||||||
|
|
||||||
packaging_format = 2
|
packaging_format = 2
|
||||||
|
|
||||||
id = "cachet"
|
id = "cachet"
|
||||||
|
@ -49,10 +51,10 @@ ram.runtime = "50M"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://github.com/CachetHQ/Cachet/archive/2323e9c0e36100f561ba03f029d87e2543636e81.tar.gz"
|
url = "https://github.com/CachetHQ/Cachet/archive/2323e9c0e36100f561ba03f029d87e2543636e81.tar.gz"
|
||||||
sha256 = "a3e26b429e3121e728447fd26d060321b695c56aeac3fc13eb0a79d4d80c217e"
|
sha256 = "a3e26b429e3121e728447fd26d060321b695c56aeac3fc13eb0a79d4d80c217e"
|
||||||
autoupdate.strategy = "latest_github_commit"
|
autoupdate.strategy = "latest_github_commit"
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
||||||
|
@ -62,7 +64,15 @@ ram.runtime = "50M"
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "mariadb-server php7.4-gd php7.4-mbstring php7.4-xml php7.4-mysql php7.4-sqlite3"
|
packages = [
|
||||||
|
"mariadb-server",
|
||||||
|
"php7.4",
|
||||||
|
"php7.4-gd",
|
||||||
|
"php7.4-mbstring",
|
||||||
|
"php7.4-xml",
|
||||||
|
"php7.4-mysql",
|
||||||
|
"php7.4-sqlite3"
|
||||||
|
]
|
||||||
|
|
||||||
[resources.database]
|
[resources.database]
|
||||||
type = "mysql"
|
type = "mysql"
|
||||||
|
|
|
@ -67,7 +67,7 @@ exec_artisan "cachet:install"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Finalizing Cachet configuration..."
|
ynh_script_progression --message="Finalizing Cachet configuration..."
|
||||||
|
|
||||||
password_hash="$(cd $install_dir ; php$YNH_PHP_VERSION artisan tinker -q --no-ansi <<< "echo Hash::make('$password');" |head -n 1)"
|
password_hash="$(cd $install_dir ; php$phpversion artisan tinker -q --no-ansi <<< "echo Hash::make('$password');" |head -n 1)"
|
||||||
password_pash="${password_hash::-1}" # Remove last character
|
password_pash="${password_hash::-1}" # Remove last character
|
||||||
|
|
||||||
# Populate MySQL database
|
# Populate MySQL database
|
||||||
|
|
Loading…
Add table
Reference in a new issue