mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
Bump package version
Directly to ~ynh5 because I had a mishap with the version in last commit
This commit is contained in:
commit
79d20ff73e
5 changed files with 30 additions and 49 deletions
20
README.md
20
README.md
|
@ -1,7 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
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.
|
It shall NOT be edited by hand.
|
||||||
|
@ -10,29 +6,24 @@ It shall NOT be edited by hand.
|
||||||
# Flarum for YunoHost
|
# Flarum for YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/flarum)  
|
[](https://dash.yunohost.org/appci/app/flarum)  
|
||||||
[](https://install-app.yunohost.org/?app=flarum)
|
[](https://install-app.yunohost.org/?app=flarum)
|
||||||
|
|
||||||
*[Lire ce readme en français.](./README_fr.md)*
|
*[Lire ce readme en français.](./README_fr.md)*
|
||||||
|
|
||||||
> *This package allows you to install flarum quickly and simply on a YunoHost server.
|
> *This package allows you to install Flarum 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.*
|
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
Next-generation forum made simple.
|
Next-generation forum made simple.
|
||||||
|
|
||||||
**Shipped version:** 0.1.0.16~ynh4
|
**Shipped version:** 0.1.0.16~ynh5
|
||||||
|
|
||||||
**Demo:** https://discuss.flarum.org/d/21101-demos-come-to-flarum
|
**Demo:** https://discuss.flarum.org/d/21101-demos-come-to-flarum
|
||||||
|
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|

|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Disclaimers / important information
|
## Disclaimers / important information
|
||||||
|
|
||||||
|
@ -82,12 +73,9 @@ In `/etc/php/*php_version*/fpm/pool.d/*app_id*.conf`, you can uncomment (remove
|
||||||
|
|
||||||
Reload PHP-FPM with `sudo service php*php_version*-fpm reload`.
|
Reload PHP-FPM with `sudo service php*php_version*-fpm reload`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Documentation and resources
|
## Documentation and resources
|
||||||
|
|
||||||
* Official app website: https://flarum.org
|
* Official app website: https://flarum.org
|
||||||
|
|
||||||
* Official admin documentation: https://docs.flarum.org
|
* Official admin documentation: https://docs.flarum.org
|
||||||
* Upstream app code repository: https://github.com/flarum/flarum
|
* Upstream app code repository: https://github.com/flarum/flarum
|
||||||
* YunoHost documentation for this app: https://yunohost.org/app_flarum
|
* YunoHost documentation for this app: https://yunohost.org/app_flarum
|
||||||
|
|
34
README_fr.md
34
README_fr.md
|
@ -1,30 +1,25 @@
|
||||||
# Flarum pour YunoHost
|
# Flarum pour YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/flarum)  
|
[](https://dash.yunohost.org/appci/app/flarum)  
|
||||||
[](https://install-app.yunohost.org/?app=flarum)
|
[](https://install-app.yunohost.org/?app=flarum)
|
||||||
|
|
||||||
*[Read this readme in english.](./README.md)*
|
*[Read this readme in english.](./README.md)*
|
||||||
*[Lire ce readme en français.](./README_fr.md)*
|
*[Lire ce readme en français.](./README_fr.md)*
|
||||||
|
|
||||||
> *This package allows you to install flarum quickly and simply on a YunoHost server.
|
> *Ce package vous permet d'installer Flarum rapidement et simplement sur un serveur YunoHost.
|
||||||
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
|
||||||
|
|
||||||
## Vue d'ensemble
|
## Vue d'ensemble
|
||||||
|
|
||||||
Un forum de nouvelle génération, simplement.
|
Un forum de nouvelle génération, simplement.
|
||||||
|
|
||||||
**Version incluse:** 0.1.0.16~ynh4
|
**Version incluse :** 0.1.0.16~ynh5
|
||||||
|
|
||||||
**Démo:** https://discuss.flarum.org/d/21101-demos-come-to-flarum
|
|
||||||
|
|
||||||
|
**Démo :** https://discuss.flarum.org/d/21101-demos-come-to-flarum
|
||||||
|
|
||||||
## Captures d'écran
|
## Captures d'écran
|
||||||
|
|
||||||
|

|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Avertissements / informations importantes
|
## Avertissements / informations importantes
|
||||||
|
|
||||||
|
@ -75,16 +70,13 @@ Dans `/etc/php/*php_version*/fpm/pool.d/*app_id*.conf`, vous pouvez décommenter
|
||||||
|
|
||||||
Rechargez PHP-FPM avec `sudo service php*php_version*-fpm reload`.
|
Rechargez PHP-FPM avec `sudo service php*php_version*-fpm reload`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Documentations et ressources
|
## Documentations et ressources
|
||||||
|
|
||||||
* Site official de l'app : https://flarum.org
|
* Site officiel de l'app : https://flarum.org
|
||||||
|
* Documentation officielle de l'admin : https://docs.flarum.org
|
||||||
* Documentation officielle de l'admin: https://docs.flarum.org
|
* Dépôt de code officiel de l'app : https://github.com/flarum/flarum
|
||||||
* Dépôt de code officiel de l'app: https://github.com/flarum/flarum
|
* Documentation YunoHost pour cette app : https://yunohost.org/app_flarum
|
||||||
* Documentation YunoHost pour cette app: https://yunohost.org/app_flarum
|
* Signaler un bug : https://github.com/YunoHost-Apps/flarum_ynh/issues
|
||||||
* Signaler un bug: https://github.com/YunoHost-Apps/flarum_ynh/issues
|
|
||||||
|
|
||||||
## Informations pour les développeurs
|
## Informations pour les développeurs
|
||||||
|
|
||||||
|
@ -93,8 +85,8 @@ Merci de faire vos pull request sur la [branche testing](https://github.com/Yuno
|
||||||
Pour essayer la branche testing, procédez comme suit.
|
Pour essayer la branche testing, procédez comme suit.
|
||||||
```
|
```
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/flarum_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/flarum_ynh/tree/testing --debug
|
||||||
or
|
ou
|
||||||
sudo yunohost app upgrade flarum -u https://github.com/YunoHost-Apps/flarum_ynh/tree/testing --debug
|
sudo yunohost app upgrade flarum -u https://github.com/YunoHost-Apps/flarum_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**Plus d'infos sur le packaging d'applications:** https://yunohost.org/packaging_apps
|
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps
|
|
@ -7,7 +7,7 @@
|
||||||
"fr": "Un forum de nouvelle génération, simplement.",
|
"fr": "Un forum de nouvelle génération, simplement.",
|
||||||
"de": "Forum der nächsten Generation leicht gemacht."
|
"de": "Forum der nächsten Generation leicht gemacht."
|
||||||
},
|
},
|
||||||
"version": "1.0.0~ynh4",
|
"version": "1.0.0~ynh5",
|
||||||
"url": "http://flarum.org/",
|
"url": "http://flarum.org/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -172,15 +172,15 @@ ynh_mysql_connect_as --user=$app --password="$db_pwd" --database=$db_name < ../c
|
||||||
case $language in
|
case $language in
|
||||||
fr)
|
fr)
|
||||||
ynh_script_progression --message="Installing French extension..." --weight=2
|
ynh_script_progression --message="Installing French extension..." --weight=2
|
||||||
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require qiaeru/lang-french\"
|
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require qiaeru/lang-french:1.10\"
|
||||||
activate_flarum_extension $db_name "qiaeru-lang-french"
|
activate_flarum_extension $db_name "qiaeru-lang-french"
|
||||||
sql_command="UPDATE \`settings\` SET \`value\` = 'fr' WHERE \`settings\`.\`key\` = 'default_locale'"
|
sql_command="UPDATE \`settings\` SET \`value\` = 'fr' WHERE \`settings\`.\`key\` = 'default_locale'"
|
||||||
ynh_mysql_execute_as_root --sql="$sql_command" --database=$db_name
|
ynh_mysql_execute_as_root --sql="$sql_command" --database=$db_name
|
||||||
;;
|
;;
|
||||||
de)
|
de)
|
||||||
ynh_script_progression --message="Installing German extension..." --weight=2
|
ynh_script_progression --message="Installing German extension..." --weight=2
|
||||||
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require cbmainz/flarum-de\"
|
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require kakifrucht/flarum-de:0.14.3\"
|
||||||
activate_flarum_extension $db_name "cbmainz-de"
|
activate_flarum_extension $db_name "kakifrucht-de"
|
||||||
sql_command="UPDATE \`settings\` SET \`value\` = 'de' WHERE \`settings\`.\`key\` = 'default_locale'"
|
sql_command="UPDATE \`settings\` SET \`value\` = 'de' WHERE \`settings\`.\`key\` = 'default_locale'"
|
||||||
ynh_mysql_execute_as_root --sql="$sql_command" --database=$db_name
|
ynh_mysql_execute_as_root --sql="$sql_command" --database=$db_name
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -210,19 +210,20 @@ fi
|
||||||
case $language in
|
case $language in
|
||||||
fr)
|
fr)
|
||||||
ynh_script_progression --message="Installing French extension..." --weight=2
|
ynh_script_progression --message="Installing French extension..." --weight=2
|
||||||
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require qiaeru/lang-french\"
|
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require qiaeru/lang-french:1.10\"
|
||||||
activate_flarum_extension $db_name "qiaeru-lang-french"
|
activate_flarum_extension $db_name "qiaeru-lang-french"
|
||||||
sql_command="UPDATE \`settings\` SET \`value\` = 'fr' WHERE \`settings\`.\`key\` = 'default_locale'"
|
sql_command="UPDATE \`settings\` SET \`value\` = 'fr' WHERE \`settings\`.\`key\` = 'default_locale'"
|
||||||
ynh_mysql_execute_as_root "$sql_command" $db_name
|
ynh_mysql_execute_as_root --sql="$sql_command" --database=$db_name
|
||||||
;;
|
;;
|
||||||
de)
|
de)
|
||||||
ynh_script_progression --message="Installing German extension..." --weight=2
|
ynh_script_progression --message="Installing German extension..." --weight=2
|
||||||
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require cbmainz/flarum-de\"
|
ynh_exec_warn_less ynh_composer_exec --phpversion=$phpversion --workdir=$final_path --commands=\"require kakifrucht/flarum-de:0.14.3\"
|
||||||
activate_flarum_extension $db_name "cbmainz-de"
|
activate_flarum_extension $db_name "kakifrucht-de"
|
||||||
sql_command="UPDATE \`settings\` SET \`value\` = 'de' WHERE \`settings\`.\`key\` = 'default_locale'"
|
sql_command="UPDATE \`settings\` SET \`value\` = 'de' WHERE \`settings\`.\`key\` = 'default_locale'"
|
||||||
ynh_mysql_execute_as_root "$sql_command" $db_name
|
ynh_mysql_execute_as_root --sql="$sql_command" --database=$db_name
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
ynh_print_info "You may need to manually enable your language extension in Flarum's admin panel."
|
ynh_print_info "You may need to manually enable your language extension in Flarum's admin panel."
|
||||||
|
|
||||||
# Clear cache
|
# Clear cache
|
||||||
|
|
Loading…
Add table
Reference in a new issue