1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/prettynoemiecms_ynh.git synced 2024-09-03 20:06:36 +02:00

Merge pull request #25 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-04-04 08:24:23 +02:00 committed by GitHub
commit fb3e67f476
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 76 additions and 105 deletions

View file

@ -1,65 +1,47 @@
# PrettyNoemieCMS for YunoHost
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
# PrettyNoemie CMS for YunoHost
[![Integration level](https://dash.yunohost.org/integration/prettynoemiecms.svg)](https://dash.yunohost.org/appci/app/prettynoemiecms) ![](https://ci-apps.yunohost.org/ci/badges/prettynoemiecms.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/prettynoemiecms.maintain.svg)
[![Install PrettyNoemieCMS with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=prettynoemiecms)
[![Install PrettyNoemie CMS with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=prettynoemiecms)
*[Lire ce readme en français.](./README_fr.md)*
> *This package allow you to install PrettyNoemieCMS 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.*
> *This package allows you to install PrettyNoemie CMS quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## Overview
PrettyNoemieCMS offers its users an ergonomic solution, simple and elegant to build in no time responsive windows sites with modern design.
The construction of your site will consist of arranging at your convenience various modules, edit their content, and customize your site by choosing fonts, formatting text, and display colors.
**Shipped version:** 2020.01.07
**Shipped version:** 2020.01.07~ynh2
**Demo:** https://demo-pretty-noemie.frama.site
## Screenshots
![](https://framablog.org/wp-content/uploads/2018/02/pages-framasite-theme-light.gif)
## Demo
* [Official demo](https://demo-pretty-noemie.frama.site)
Login with:
login : pretty
mdp : 12345678
![](./doc/screenshots/pages-framasite-theme-light.gif)
## Disclaimers / important information
## Configuration
How to configure this app: by an admin panel at: `your.domain.tld/your_path/admin`
## Documentation
## Documentation and resources
* Official documentation: https://framagit.org/framasoft/PrettyNoemieCMS
* Official user documentation: https://framagit.org/framasoft/PrettyNoemieCMS
* Upstream app code repository: https://framagit.org/framasoft/PrettyNoemieCMS
* YunoHost documentation for this app: https://yunohost.org/app_prettynoemiecms
* Report a bug: https://github.com/YunoHost-Apps/prettynoemiecms_ynh/issues
## YunoHost specific features
## Developer info
#### Multi-users support
Are LDAP and HTTP auth supported? **No**
Can the app be used by multiple users? **No**
#### Supported architectures
* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/prettynoemiecms.svg)](https://ci-apps.yunohost.org/ci/apps/prettynoemiecms/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/prettynoemiecms.svg)](https://ci-apps-arm.yunohost.org/ci/apps/prettynoemiecms/)
## Links
* Report a bug: https://github.com/YunoHost-Apps/prettynoemiecms_ynh/issues
* App website: https://framagit.org/framasoft/PrettyNoemieCMS
* Upstream app repository: https://framagit.org/framasoft/PrettyNoemieCMS
* YunoHost website: https://yunohost.org/
---
## Developers info
Please do your pull request to the [testing branch](https://github.com/YunoHost-Apps/prettynoemiecms_ynh/tree/testing).
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/prettynoemiecms_ynh/tree/testing).
To try the testing branch, please proceed like that.
```
@ -67,3 +49,5 @@ sudo yunohost app install https://github.com/YunoHost-Apps/prettynoemiecms_ynh/t
or
sudo yunohost app upgrade prettynoemiecms -u https://github.com/YunoHost-Apps/prettynoemiecms_ynh/tree/testing --debug
```
**More info regarding app packaging:** https://yunohost.org/packaging_apps

View file

@ -1,63 +1,41 @@
# PrettyNoemieCMS pour YunoHost
# PrettyNoemie CMS pour YunoHost
[![Integration level](https://dash.yunohost.org/integration/prettynoemiecms.svg)](https://dash.yunohost.org/appci/app/prettynoemiecms)
[![Install prettynoemiecms with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=prettynoemiecms)
[![Niveau d'intégration](https://dash.yunohost.org/integration/prettynoemiecms.svg)](https://dash.yunohost.org/appci/app/prettynoemiecms) ![](https://ci-apps.yunohost.org/ci/badges/prettynoemiecms.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/prettynoemiecms.maintain.svg)
[![Installer PrettyNoemie CMS avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=prettynoemiecms)
*[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)*
> *Ce package vous permet d'installer prettynoemiecms rapidement et simplement sur un serveur Yunohost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/install) pour savoir comment l'installer et en profiter.*
> *Ce package vous permet d'installer PrettyNoemie CMS rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
## Vue d'ensemble
CMS offrant à ses utilisateurs une solution ergonomique, simple et élégante pour construire en un rien de temps des sites vitrines responsives au design moderne.
La construction de votre site consistera à agencer à votre convenance des modules variés, d'éditer leurs contenus, et de personnaliser votre site en choisissant les polices de caractère, la mise en forme du texte, ainsi que les couleurs d'affichage.
**Version incluse:** 2020.01.07
**Version incluse :** 2020.01.07~ynh2
**Démo :** https://demo-pretty-noemie.frama.site
## Captures d'écran
![](https://framablog.org/wp-content/uploads/2018/02/pages-framasite-theme-light.gif)
## Démo
* [Démo officielle](https://demo-pretty-noemie.frama.site)
Connectez-vous avec :
login : pretty
mdp : 12345678
![](./doc/screenshots/pages-framasite-theme-light.gif)
## Avertissements / informations importantes
## Configuration
Comment configurer cette application: via le panneau d'administration à : `votre.domain.tld/votre_chemin/admin`
## Documentation
## Documentations et ressources
* Documentation officielle: https://framagit.org/framasoft/PrettyNoemieCMS
* Documentation officielle utilisateur : https://framagit.org/framasoft/PrettyNoemieCMS
* Dépôt de code officiel de l'app : https://framagit.org/framasoft/PrettyNoemieCMS
* Documentation YunoHost pour cette app : https://yunohost.org/app_prettynoemiecms
* Signaler un bug : https://github.com/YunoHost-Apps/prettynoemiecms_ynh/issues
## Caractéristiques spécifiques YunoHost
#### Support multi-utilisateurs
L'authentification LDAP et HTTP est-elle prise en charge? **Non**
L'application peut-elle être utilisée par plusieurs utilisateurs? **Non**
#### Supported architectures
* x86-64b - [![Build Status](https://ci-apps.yunohost.org/ci/logs/prettynoemiecms.svg)](https://ci-apps.yunohost.org/ci/apps/prettynoemiecms/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/prettynoemiecms.svg)](https://ci-apps-arm.yunohost.org/ci/apps/prettynoemiecms/)
## Liens
* Signaler un bug: https://github.com/YunoHost-Apps/prettynoemiecms_ynh/issues
* Site de l'application: https://framagit.org/framasoft/PrettyNoemieCMS
* Dépôt de l'application principale: https://framagit.org/framasoft/PrettyNoemieCMS
* Site web YunoHost: https://yunohost.org/
---
# Informations pour les développeurs
## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/prettynoemiecms_ynh/tree/testing).
@ -67,3 +45,5 @@ sudo yunohost app install https://github.com/YunoHost-Apps/prettynoemiecms_ynh/t
ou
sudo yunohost app upgrade prettynoemiecms -u https://github.com/YunoHost-Apps/prettynoemiecms_ynh/tree/testing --debug
```
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps

View file

@ -4,11 +4,6 @@ location __PATH__/ {
# Path to source
alias __FINALPATH__/ ;
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
index index.php;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
@ -24,7 +19,7 @@ location __PATH__/ {
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
fastcgi_index index.php;
include fastcgi_params;

View file

@ -33,7 +33,7 @@ group = __USER__
; (IPv6 and IPv4-mapped) on a specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
listen = /var/run/php/php7.0-fpm-__NAMETOCHANGE__.sock
listen = /var/run/php/php__PHPVERSION__-fpm-__NAMETOCHANGE__.sock
; Set listen(2) backlog.
; Default Value: 511 (-1 on FreeBSD and OpenBSD)

2
doc/DESCRIPTION.md Normal file
View file

@ -0,0 +1,2 @@
PrettyNoemieCMS offers its users an ergonomic solution, simple and elegant to build in no time responsive windows sites with modern design.
The construction of your site will consist of arranging at your convenience various modules, edit their content, and customize your site by choosing fonts, formatting text, and display colors.

2
doc/DESCRIPTION_fr.md Normal file
View file

@ -0,0 +1,2 @@
CMS offrant à ses utilisateurs une solution ergonomique, simple et élégante pour construire en un rien de temps des sites vitrines responsives au design moderne.
La construction de votre site consistera à agencer à votre convenance des modules variés, d'éditer leurs contenus, et de personnaliser votre site en choisissant les polices de caractère, la mise en forme du texte, ainsi que les couleurs d'affichage.

3
doc/DISCLAIMER.md Normal file
View file

@ -0,0 +1,3 @@
## Configuration
How to configure this app: by an admin panel at: `your.domain.tld/your_path/admin`

3
doc/DISCLAIMER_fr.md Normal file
View file

@ -0,0 +1,3 @@
## Configuration
Comment configurer cette application: via le panneau d'administration à : `votre.domain.tld/votre_chemin/admin`

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

View file

@ -6,15 +6,21 @@
"en": "Ergonomic, simple and elegant CMS to build in no time landpage websites with modern design",
"fr": "CMS ergonomique, simple et élégant pour construire en un rien de temps des sites vitrines avec un design moderne"
},
"version": "2020.01.07~ynh1",
"version": "2020.01.07~ynh2",
"url": "https://framagit.org/framasoft/PrettyNoemieCMS",
"upstream": {
"license": "AGPL-3.0",
"demo": "https://demo-pretty-noemie.frama.site",
"userdoc": "https://framagit.org/framasoft/PrettyNoemieCMS",
"code": "https://framagit.org/framasoft/PrettyNoemieCMS"
},
"license": "AGPL-3.0",
"maintainer": {
"name": "kay0u",
"email": "pierre@kayou.io"
},
"requirements": {
"yunohost": ">= 4.2.4"
"yunohost": ">= 4.3.0"
},
"multi_instance": true,
"services": [

View file

@ -7,9 +7,7 @@
YNH_PHP_VERSION="7.3"
# dependencies used by the app
extra_php_dependencies="php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-common php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-json"
pkg_dependencies="git"
pkg_dependencies="git php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-common php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-json"
#=================================================
# PERSONAL HELPERS

View file

@ -90,7 +90,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Configuring PHP-FPM..." --weight=2
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --package="$extra_php_dependencies"
ynh_add_fpm_config
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================

View file

@ -20,16 +20,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
port=$(ynh_app_setting_get --app=$app --key=port)
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#=================================================
# STANDARD REMOVE
#=================================================
# REMOVE DEPENDENCIES
#=================================================
ynh_script_progression --message="Removing dependencies..." --weight=1
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#=================================================
# REMOVE APP MAIN DIR
#=================================================
@ -54,6 +44,14 @@ ynh_script_progression --message="Removing PHP-FPM configuration..." --weight=1
# Remove the dedicated php-fpm config
ynh_remove_fpm_config
#=================================================
# REMOVE DEPENDENCIES
#=================================================
ynh_script_progression --message="Removing dependencies..." --weight=1
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#=================================================
# GENERIC FINALIZATION
#=================================================

View file

@ -70,7 +70,7 @@ ynh_script_progression --message="Reconfiguring PHP-FPM..." --weight=2
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
ynh_add_fpm_config --package="$extra_php_dependencies"
ynh_add_fpm_config
#=================================================
# SPECIFIC RESTORATION