mirror of
https://github.com/YunoHost-Apps/grav_ynh.git
synced 2024-09-03 19:16:01 +02:00
Remove mentions of non-implemented features
This commit is contained in:
parent
f1b8557b1e
commit
7225927845
5 changed files with 41 additions and 77 deletions
90
README.md
90
README.md
|
@ -1,26 +1,27 @@
|
||||||
# [EN] Grav for YunoHost
|
# [EN] Grav for YunoHost
|
||||||
|
|
||||||
|
[![Integration level](https://dash.yunohost.org/integration/grav.svg)](https://ci-apps.yunohost.org/jenkins/job/grav%20%28Community%29/lastBuild/consoleFull)
|
||||||
[![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.png)](https://install-app.yunohost.org/?app=grav)
|
||||||
|
|
||||||
|
> *This package allow 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/
|
* http://getgrav.org/
|
||||||
* https://github.com/getgrav/grav
|
* https://github.com/getgrav/grav
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
Grav is a modern open source flat-file CMS.
|
||||||
|
|
||||||
|
**Shipped version:** 1.4.8 with admin panel
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
From YunoHost admin panel:
|
- Click on the above *Install with YunoHost* button.
|
||||||
|
- From YunoHost admin panel, Grav should be listed in the community packages list.
|
||||||
|
- From command line: `sh sudo yunohost app install grav`.
|
||||||
|
|
||||||
1. Enter repository url https://github.com/YunoHost-Apps/grav_ynh
|
Before actual installation, you will have to configure the following fields:
|
||||||
2. Configure the app
|
|
||||||
3. Click install
|
|
||||||
4. Go to the url you configured
|
|
||||||
|
|
||||||
From command line:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo yunohost app install -l grav https://github.com/YunoHost-Apps/grav_ynh
|
|
||||||
```
|
|
||||||
|
|
||||||
Options:
|
|
||||||
|
|
||||||
1. __Choose a domain for Grav__
|
1. __Choose a domain for Grav__
|
||||||
Domain for your installation (example.org).
|
Domain for your installation (example.org).
|
||||||
|
@ -31,41 +32,37 @@ Path for your installation (/grav).
|
||||||
3. __Is it a public application ?__
|
3. __Is it a public application ?__
|
||||||
If public, everybody will be able to access your Grav instance (example.org/grav).
|
If public, everybody will be able to access your Grav instance (example.org/grav).
|
||||||
|
|
||||||
4. __Do you wish to install the Admin plugin ?__
|
## Configuration
|
||||||
Grav has an optional admin panel, answer `Yes` if you want to use it.
|
|
||||||
|
|
||||||
5. __Make admin panel private ?__
|
Depending on the chosen domain and path, open https://example.org/grav in your browser. You will then be offered to create a Grav administrator.
|
||||||
_Only valid if admin panel is installed._
|
|
||||||
Protect the admin panel behind Yunohost authentication.
|
|
||||||
|
|
||||||
6. __Create administrator automatically ?__
|
|
||||||
_Only works if admin panel is installed and private._
|
|
||||||
If `Yes`, an admin account will be automatically created when you first visit your Grav instance, and you will be redirected to the admin panel. Your authentication will be handled by your YunoHost connection.
|
|
||||||
If `No`, on your first visit to your Grav instance Grav will propose you to create a new user.
|
|
||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
# [FR] Grav pour YunoHost
|
# [FR] Grav pour YunoHost
|
||||||
|
|
||||||
|
[![Integration level](https://dash.yunohost.org/integration/grav.svg)](https://ci-apps.yunohost.org/jenkins/job/grav%20%28Community%29/lastBuild/consoleFull)
|
||||||
|
[![Install Grav with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=grav)
|
||||||
|
|
||||||
|
> *Ce paquet vous permet d'installer Grav rapidement et simplement sur un serveur YunoHost.
|
||||||
|
Si vous n'avez pas YunoHost, veuillez consulter [cette page](https://yunohost.org/#/install) pour apprendre comment l'installer et en profiter.*
|
||||||
|
|
||||||
* http://getgrav.org/
|
* http://getgrav.org/
|
||||||
* https://github.com/getgrav/grav
|
* https://github.com/getgrav/grav
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
Grav est un CMS (système de gestion de contenu), moderne, ouvert, et sans base de données.
|
||||||
|
|
||||||
|
**Version incluse :** 1.4.8 avec panneau d'administration
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Depuis le panneau d'administration YunoHost:
|
- Cliquez sur le bouton *Install with YunoHost* ci-dessus.
|
||||||
|
- Dans le panneau d'administration de YunoHost, Grav est dans la liste d'applications *community*.
|
||||||
|
- Depuis la ligne de commandes: `sh sudo yunohost app install grav`.
|
||||||
|
|
||||||
1. Entrez l'url du dépot https://github.com/YunoHost-Apps/grav_ynh
|
Avant de l'installation effective, vous devrez remplir les champs suivants :
|
||||||
2. Configurez l'application
|
|
||||||
3. Cliquez sur installer
|
|
||||||
4. Rendez-vous à l'url que vous avez configuré
|
|
||||||
|
|
||||||
Depuis la ligne de commande:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo yunohost app install -l grav https://github.com/YunoHost-Apps/grav_ynh
|
|
||||||
```
|
|
||||||
|
|
||||||
Options:
|
|
||||||
|
|
||||||
1. __Choisissez un domaine pour Grav__
|
1. __Choisissez un domaine pour Grav__
|
||||||
Domaine pour votre installation (example.org, grav.example.org).
|
Domaine pour votre installation (example.org, grav.example.org).
|
||||||
|
@ -76,22 +73,17 @@ Chemin pour votre installation (/grav, /).
|
||||||
3. __Est-ce une page publique ?__
|
3. __Est-ce une page publique ?__
|
||||||
Si cette application est publique, n'importe quelle personne pourra y accéder (example.org/grav).
|
Si cette application est publique, n'importe quelle personne pourra y accéder (example.org/grav).
|
||||||
|
|
||||||
4. __Souhaitez-vous installer le plugin d'administration ?__
|
## Configuration
|
||||||
Grav possède un plugin d'administration optionnel, répondez `Yes` si vous souhaitez l'utiliser.
|
|
||||||
|
|
||||||
5. __Souhaitez-vous rendre l'administration privée ?__
|
|
||||||
_Valide uniquement si le plugin d'administration est installé._
|
|
||||||
Protège l'administration derrière l'authentification Yunohost.
|
|
||||||
|
|
||||||
6. __Souhaitez-vous créer un administrateur automatiquement ?__
|
|
||||||
_Valide uniquement si le plugin d'administration est installé et privé._
|
|
||||||
Si `Yes`, un compte administrateur sera automatiquement créé à votre première visite de votre instance Grav, et vous serez redirigé vers l'administration.
|
|
||||||
Votre connexion à l'administration sera associée à votre connexion YunoHost.
|
|
||||||
Si `No`, à votre première visite de votre instance Grav, il vous sera proposé la création d'un nouvel utilisateur.
|
|
||||||
|
|
||||||
|
Selon le domaine et le chemin choisis, ouvrez la page https://example.org/grav dans votre navigateur. Vous pourrez alors créer un administrateur pour Grav.
|
||||||
|
|
||||||
## Versionning
|
## Versionning
|
||||||
|
|
||||||
|
### Version 1.4.8 (11/08/18)
|
||||||
|
|
||||||
|
- Update version
|
||||||
|
- Refactoring
|
||||||
|
|
||||||
### Version 1.4.5 (22/05/18)
|
### Version 1.4.5 (22/05/18)
|
||||||
|
|
||||||
- Update version
|
- Update version
|
||||||
|
@ -111,7 +103,3 @@ Si `No`, à votre première visite de votre instance Grav, il vous sera proposé
|
||||||
### Version 1.0.0 (11/11/15)
|
### Version 1.0.0 (11/11/15)
|
||||||
|
|
||||||
- First version
|
- First version
|
||||||
|
|
||||||
### Configuration
|
|
||||||
|
|
||||||
1. Start url https://domaine.tld/grav
|
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
; Manifest
|
; Manifest
|
||||||
domain="domain.tld" (DOMAIN)
|
domain="domain.tld" (DOMAIN)
|
||||||
path="/path" (PATH)
|
path="/path" (PATH)
|
||||||
admin="john" (USER)
|
#admin="john" (USER)
|
||||||
language="fr"
|
#language="fr"
|
||||||
is_public=1 (PUBLIC|public=1|private=0)
|
is_public=1 (PUBLIC|public=1|private=0)
|
||||||
; Checks
|
; Checks
|
||||||
pkg_linter=1
|
pkg_linter=1
|
||||||
|
|
|
@ -41,15 +41,6 @@
|
||||||
"example": "/grav",
|
"example": "/grav",
|
||||||
"default": "/grav"
|
"default": "/grav"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "admin",
|
|
||||||
"type": "user",
|
|
||||||
"ask": {
|
|
||||||
"en": "Choose the Grav administrator (must be an existing YunoHost user)",
|
|
||||||
"fr": "Administrateur du site (doit être un utilisateur YunoHost existant)"
|
|
||||||
},
|
|
||||||
"example": "johndoe"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "is_public",
|
"name": "is_public",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
@ -59,15 +50,6 @@
|
||||||
},
|
},
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "language",
|
|
||||||
"ask": {
|
|
||||||
"en": "Choose the application language",
|
|
||||||
"fr": "Choisissez la langue de l'application"
|
|
||||||
},
|
|
||||||
"choices": ["en_EN", "fr_FR"],
|
|
||||||
"default": "fr_FR"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -26,9 +26,7 @@ ynh_abort_if_errors
|
||||||
|
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH
|
path_url=$YNH_APP_ARG_PATH
|
||||||
admin=$YNH_APP_ARG_ADMIN
|
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
language=$YNH_APP_ARG_LANGUAGE
|
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
@ -54,9 +52,7 @@ ynh_webpath_register $app $domain $path_url
|
||||||
|
|
||||||
ynh_app_setting_set $app domain $domain
|
ynh_app_setting_set $app domain $domain
|
||||||
ynh_app_setting_set $app path $path_url
|
ynh_app_setting_set $app path $path_url
|
||||||
ynh_app_setting_set $app admin $admin
|
|
||||||
ynh_app_setting_set $app is_public $is_public
|
ynh_app_setting_set $app is_public $is_public
|
||||||
ynh_app_setting_set $app language $language
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD MODIFICATIONS
|
# STANDARD MODIFICATIONS
|
||||||
|
|
|
@ -17,10 +17,8 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
domain=$(ynh_app_setting_get $app domain)
|
domain=$(ynh_app_setting_get $app domain)
|
||||||
path_url=$(ynh_app_setting_get $app path)
|
path_url=$(ynh_app_setting_get $app path)
|
||||||
admin=$(ynh_app_setting_get $app admin)
|
|
||||||
is_public=$(ynh_app_setting_get $app is_public)
|
is_public=$(ynh_app_setting_get $app is_public)
|
||||||
final_path=$(ynh_app_setting_get $app final_path)
|
final_path=$(ynh_app_setting_get $app final_path)
|
||||||
language=$(ynh_app_setting_get $app language)
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ENSURE DOWNWARD COMPATIBILITY
|
# ENSURE DOWNWARD COMPATIBILITY
|
||||||
|
|
Loading…
Reference in a new issue