1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grav_ynh.git synced 2024-09-03 19:16:01 +02:00

Merge pull request #49 from YunoHost-Apps/testing

README improvements, fix upgrade
This commit is contained in:
Éric Gaspar 2021-01-07 07:44:45 +01:00 committed by GitHub
commit 90b1f959c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# Grav for YunoHost
[![Integration level](https://dash.yunohost.org/integration/grav.svg)](https://dash.yunohost.org/appci/app/grav) ![](https://ci-apps.yunohost.org/ci/badges/grav.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/grav.maintain.svg)
[![Install Grav with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=grav)
[![Install Grav with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=grav)
> *This package allows you to install Grav quickly and simply on a YunoHost server.
If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.*
@ -11,6 +11,10 @@ Grav is a modern open source flat-file CMS.
Provided version: **1.6.28**
## Screenshots
![](https://framalibre.org/sites/default/files/Screenshot_2019-05-30_at_02.09_.36_.png)
## Documentation
* Official documentation: https://learn.getgrav.org/16/

View file

@ -110,7 +110,7 @@ find $final_path -type d -exec chmod +s {} \;
ynh_script_progression --message="Installing and configuring LDAP plugin..." --weight=1
pushd "$final_path"
exec_as $app php${YNH_PHP_VERSION} bin/gpm install login-ldap -y
exec_as $app php${YNH_PHP_VERSION} bin/gpm install login-ldap --all-yes --no-interaction
exec_as $app mkdir -p user/config/plugins/login-ldap
exec_as $app touch user/accounts/admin.yaml
popd

View file

@ -176,7 +176,7 @@ find $final_path -type d -exec chmod +s {} \;
ynh_script_progression --message="Updating all plugins..." --time --weight=1
pushd "$final_path"
exec_as $app php${YNH_PHP_VERSION} bin/gpm update -y
exec_as $app php${YNH_PHP_VERSION} bin/gpm update --all-yes --no-interaction
popd
#=================================================
@ -185,7 +185,7 @@ popd
ynh_script_progression --message="Installing and configuring LDAP plugin..." --time --weight=1
pushd "$final_path"
exec_as $app php${YNH_PHP_VERSION} bin/gpm install login-ldap -y
exec_as $app php${YNH_PHP_VERSION} bin/gpm install login-ldap --all-yes --no-interaction
exec_as $app mkdir -p user/config/plugins/login-ldap
exec_as $app touch user/accounts/admin.yaml
popd