mirror of
https://github.com/YunoHost-Apps/grav_ynh.git
synced 2024-09-03 19:16:01 +02:00
Upgrade to v1.6.27 and YNH 4.0.7, README improvements (#44)
* Update README.md (#40) * Update README.md - *Improve README* * Fix typo in README.md Co-authored-by: tituspijean <tituspijean@outlook.com> * [upg] v1.6.27 * [fix] bump to ynh v4.0.7 Fix handling of /yunohost/sso paths getting overridden by the app * [enh] describe command line usage See #43 Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
This commit is contained in:
parent
2909df6045
commit
84ab41360f
4 changed files with 49 additions and 15 deletions
52
README.md
52
README.md
|
@ -1,16 +1,24 @@
|
|||
[](https://ci-apps.yunohost.org/ci/apps/grav/)
|
||||
# Grav for YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/grav)  
|
||||
[](https://install-app.yunohost.org/?app=grav)
|
||||
|
||||
Grav is a modern open source flat-file CMS.
|
||||
|
||||
> *This package allow 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.*
|
||||
|
||||
* http://getgrav.org/
|
||||
* https://github.com/getgrav/grav
|
||||
## Overview
|
||||
Grav is a modern open source flat-file CMS.
|
||||
|
||||
Provided version: **1.6.26**
|
||||
Provided version: **1.6.27**
|
||||
|
||||
## Documentation
|
||||
|
||||
* Official documentation: https://learn.getgrav.org/16/
|
||||
* YunoHost documentation: If specific documentation is needed, feel free to contribute.
|
||||
|
||||
## Limitations
|
||||
|
||||
* If installing Grav at the root of a domain, bear in mind that paths starting by `/yunohost` are reserved.
|
||||
|
||||
## Installation
|
||||
|
||||
|
@ -25,15 +33,41 @@ For upgrading (replace `grav` by the actual instance ID if more instances are in
|
|||
sudo yunohost app upgrade grav -u https://github.com/YunoHost-Apps/grav_ynh
|
||||
```
|
||||
|
||||
## Administration and plugin installation
|
||||
|
||||
* You can access the administration panel at `yourdomain.tld/path/admin`. Users created within YunoHost can log in, provided their were given the appropriate permissions (see next section).
|
||||
* Grav provides a command line interface. Refer to its documentation, but you will need to specifically call for the PHP version currently used for the app:
|
||||
* Go to your app's directory: `cd /var/www/grav` (or `grav__2`, etc. if you have multiple ones)
|
||||
* `php7.3 bin/grav ...` or `php7.3 bin/gpm ...`
|
||||
* You can install plugins through the admin panel, or through the GPM.
|
||||
|
||||
## Permissions
|
||||
|
||||
To make users administrators, give them the `grav.admin` permission.
|
||||
To allow users to log in, give them the `grav.user` permission.
|
||||
|
||||
#### Supported architectures
|
||||
|
||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/grav/)
|
||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/grav/)
|
||||
|
||||
## Links
|
||||
|
||||
* Report a bug about this package: https://github.com/YunoHost-Apps/grav_ynh
|
||||
* Report a bug about Grav itself: https://github.com/getgrav/grav/issues
|
||||
* Report a bug about this package: https://github.com/YunoHost-Apps/grav_ynh/issues
|
||||
* Documentation: https://learn.getgrav.org/
|
||||
* Grav website: https://www.getgrav.org/
|
||||
* Upstream app repository: https://github.com/getgrav/grav
|
||||
* YunoHost website: https://yunohost.org/
|
||||
|
||||
---
|
||||
|
||||
## Developer info
|
||||
|
||||
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/grav_ynh/tree/testing).
|
||||
|
||||
To try the testing branch, please proceed like that.
|
||||
```
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/grav_ynh/tree/testing --debug
|
||||
or
|
||||
sudo yunohost app upgrade grav -u https://github.com/YunoHost-Apps/grav_ynh/tree/testing --debug
|
||||
```
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/getgrav/grav/releases/download/1.6.26/grav-update-v1.6.26.zip
|
||||
SOURCE_SUM=3086CFA18AA816F5C5F7573EC920FB4BBAD8E863DEBBB9AC200D54490C61CAA7
|
||||
SOURCE_URL=https://github.com/getgrav/grav/releases/download/1.6.27/grav-update-v1.6.27.zip
|
||||
SOURCE_SUM=6C5004BE914E58E5D7A19E941E9349E128CB7D1CF327F145E307AF51BE6D96B7
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/getgrav/grav/releases/download/1.6.26/grav-admin-v1.6.26.zip
|
||||
SOURCE_SUM=F43F26D83B94ACD0D3719B6227D3044397B0303D92BA8F956CFAA01A940AF9CE
|
||||
SOURCE_URL=https://github.com/getgrav/grav/releases/download/1.6.27/grav-admin-v1.6.27.zip
|
||||
SOURCE_SUM=CB8C46DA2C7898527B461415C9D6E5F561B863C793DBAE43D7494ED42104E319
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "A modern open source flat-file CMS",
|
||||
"fr": "Un CMS moderne basé sur des fichiers plats"
|
||||
},
|
||||
"version": "1.6.26~ynh1",
|
||||
"version": "1.6.27~ynh1",
|
||||
"url": "https://www.getgrav.org/",
|
||||
"license": "MIT-0",
|
||||
"maintainer": [
|
||||
|
@ -27,7 +27,7 @@
|
|||
"email": "lithrel@randomdomainname.net"
|
||||
}],
|
||||
"requirements": {
|
||||
"yunohost": ">= 3.7.1"
|
||||
"yunohost": ">= 4.0.7"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
|
|
Loading…
Add table
Reference in a new issue