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:
commit
90b1f959c9
3 changed files with 8 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Grav for YunoHost
|
# Grav for YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/grav)  
|
[](https://dash.yunohost.org/appci/app/grav)  
|
||||||
[](https://install-app.yunohost.org/?app=grav)
|
[](https://install-app.yunohost.org/?app=grav)
|
||||||
|
|
||||||
> *This package allows you to install Grav quickly and simply on a YunoHost server.
|
> *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.*
|
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**
|
Provided version: **1.6.28**
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* Official documentation: https://learn.getgrav.org/16/
|
* Official documentation: https://learn.getgrav.org/16/
|
||||||
|
|
|
@ -110,7 +110,7 @@ find $final_path -type d -exec chmod +s {} \;
|
||||||
ynh_script_progression --message="Installing and configuring LDAP plugin..." --weight=1
|
ynh_script_progression --message="Installing and configuring LDAP plugin..." --weight=1
|
||||||
|
|
||||||
pushd "$final_path"
|
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 mkdir -p user/config/plugins/login-ldap
|
||||||
exec_as $app touch user/accounts/admin.yaml
|
exec_as $app touch user/accounts/admin.yaml
|
||||||
popd
|
popd
|
||||||
|
|
|
@ -176,7 +176,7 @@ find $final_path -type d -exec chmod +s {} \;
|
||||||
ynh_script_progression --message="Updating all plugins..." --time --weight=1
|
ynh_script_progression --message="Updating all plugins..." --time --weight=1
|
||||||
|
|
||||||
pushd "$final_path"
|
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
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -185,7 +185,7 @@ popd
|
||||||
ynh_script_progression --message="Installing and configuring LDAP plugin..." --time --weight=1
|
ynh_script_progression --message="Installing and configuring LDAP plugin..." --time --weight=1
|
||||||
|
|
||||||
pushd "$final_path"
|
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 mkdir -p user/config/plugins/login-ldap
|
||||||
exec_as $app touch user/accounts/admin.yaml
|
exec_as $app touch user/accounts/admin.yaml
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Reference in a new issue