2020-09-07 18:14:58 +02:00
# Grav for YunoHost
2018-10-28 13:09:56 +01:00
2020-09-07 18:14:58 +02:00
[![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)
2021-01-05 15:46:08 +01:00
[![Install Grav with YunoHost ](https://install-app.yunohost.org/install-with-yunohost.svg )](https://install-app.yunohost.org/?app=grav)
2017-07-22 23:25:31 +02:00
2020-09-07 18:14:58 +02:00
> *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.*
## Overview
2018-09-12 21:39:34 +02:00
Grav is a modern open source flat-file CMS.
2021-02-06 18:12:48 +01:00
Provided version: **1.7.5**
2020-09-07 18:14:58 +02:00
2020-11-03 22:35:43 +01:00
## Screenshots
![](https://framalibre.org/sites/default/files/Screenshot_2019-05-30_at_02.09_.36_.png)
2020-09-07 18:14:58 +02:00
## Documentation
2018-09-12 21:39:34 +02:00
2021-01-19 22:25:52 +01:00
* Official documentation: https://learn.getgrav.org/17/
2020-09-07 18:14:58 +02:00
* YunoHost documentation: If specific documentation is needed, feel free to contribute.
2017-03-02 15:58:46 +01:00
2020-09-07 18:14:58 +02:00
## Limitations
* If installing Grav at the root of a domain, bear in mind that paths starting by `/yunohost` are reserved.
2017-03-30 00:30:33 +02:00
## Installation
2018-09-03 23:31:52 +02:00
Use either YunoHost's admin panel or command line:
2017-03-30 00:30:33 +02:00
```sh
2018-09-12 22:33:00 +02:00
sudo yunohost app install https://github.com/YunoHost-Apps/grav_ynh
2017-03-30 00:30:33 +02:00
```
2018-09-12 22:33:00 +02:00
For upgrading (replace `grav` by the actual instance ID if more instances are installed):
2018-09-12 21:39:34 +02:00
```sh
2018-09-12 22:33:00 +02:00
sudo yunohost app upgrade grav -u https://github.com/YunoHost-Apps/grav_ynh
2018-09-12 21:39:34 +02:00
```
2015-11-11 18:23:02 +01:00
2020-09-07 18:14:58 +02:00
## 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.
2020-07-10 19:22:37 +02:00
## Permissions
2018-09-04 00:05:51 +02:00
2020-07-10 19:22:37 +02:00
To make users administrators, give them the `grav.admin` permission.
To allow users to log in, give them the `grav.user` permission.
2018-09-12 21:39:34 +02:00
2020-09-07 18:14:58 +02:00
#### Supported architectures
* x86-64 - [![Build Status ](https://ci-apps.yunohost.org/ci/logs/grav%20%28Apps%29.svg )](https://ci-apps.yunohost.org/ci/apps/grav/)
* ARMv8-A - [![Build Status ](https://ci-apps-arm.yunohost.org/ci/logs/grav%20%28Apps%29.svg )](https://ci-apps-arm.yunohost.org/ci/apps/grav/)
2018-09-12 21:39:34 +02:00
## Links
2020-09-07 18:14:58 +02:00
* Report a bug about this package: https://github.com/YunoHost-Apps/grav_ynh/issues
2018-09-12 21:39:34 +02:00
* Documentation: https://learn.getgrav.org/
* Grav website: https://www.getgrav.org/
2020-09-07 18:14:58 +02:00
* Upstream app repository: https://github.com/getgrav/grav
2018-09-12 21:39:34 +02:00
* YunoHost website: https://yunohost.org/
2020-09-07 18:14:58 +02:00
---
## 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
```