1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00

upgrade to last version

This commit is contained in:
ericgaspar 2021-03-05 08:26:55 +01:00
parent 28ac465a75
commit 7b9b805d0f
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 51 additions and 12 deletions

View file

@ -1,19 +1,59 @@
# RocketChat for YunoHost # RocketChat for YunoHost
[![Integration level](https://dash.yunohost.org/integration/rocketchat.svg)](https://dash.yunohost.org/appci/app/rocketchat) [![Integration level](https://dash.yunohost.org/integration/rocketchat.svg)](https://dash.yunohost.org/appci/app/rocketchat) ![](https://ci-apps.yunohost.org/ci/badges/rocketchat.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/rocketchat.maintain.svg)
[![Install Rocketchat with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=rocketchat) [![Install rocketchat with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=rocketchat)
*[Lire ce readme en français.](./README_fr.md)*
> *This package allows you to install rocketchat 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
Quick description of this app.
**Shipped version:** 1.0
## Screenshots
![](Link to a screenshot of this app.)
## Demo
* [Official demo](Link to a demo site for this app.)
## Configuration
How to configure this app: From an admin panel, a plain file with SSH, or any other way.
## Documentation
* Official documentation: Link to the official documentation of this app
* YunoHost documentation: If specific documentation is needed, feel free to contribute.
## YunoHost specific features
#### Multi-user support
Are LDAP and HTTP auth supported?
Can the app be used by multiple users?
#### Supported architectures #### Supported architectures
* x86-64 - [![](https://ci-apps.yunohost.org/ci/logs/rocketchat%20%28Community%29.svg)](https://ci-apps.yunohost.org/ci/apps/rocketchat/) * x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/rocketchat%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/rocketchat/)
* ARMv8-A - [![](https://ci-apps-arm.yunohost.org/ci/logs/rocketchat%20%28Community%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/rocketchat/) * ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/rocketchat%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/rocketchat/)
## Limitations
* Any known limitations.
## Additional information
* Other info you would like to add about this app.
## Links ## Links
* Report a bug: https://github.com/YunoHost-Apps/rocketchat_ynh/issues * Report a bug: https://github.com/YunoHost-Apps/rocketchat_ynh/issues
* Rocketchat website: https://rocket.chat/ * App website: https://rocket.chat/
* Upstream app repository: https://github.com/RocketChat/Rocket.Chat * Upstream app repository: https://github.com/RocketChat/Rocket.Chat
* YunoHost website: https://yunohost.org/ * YunoHost website: https://yunohost.org/

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/RocketChat/Rocket.Chat/archive/3.10.4.zip SOURCE_URL=https://github.com/RocketChat/Rocket.Chat/archive/3.12.0.zip
SOURCE_SUM=7edb0af029d205eeeeca741f9aff7879842df90624b9aa1d11921a46a18f7757 SOURCE_SUM=f955d2dc4ace5c16b7ac1e5134128ace37c372188d617ae6d4550c9cd4be4c6c
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -6,9 +6,9 @@
"en": "the ultimate chat platform", "en": "the ultimate chat platform",
"fr": "the ultimate chat platform" "fr": "the ultimate chat platform"
}, },
"version": "3.4.2~ynh1",
"url": "https://rocket.chat", "url": "https://rocket.chat",
"license": "GPL-3.0", "license": "GPL-3.0",
"version": "3.4.2~ynh1",
"maintainer": { "maintainer": {
"name": "selamanse", "name": "selamanse",
"email": "selamanse@scheinfrei.info", "email": "selamanse@scheinfrei.info",
@ -19,7 +19,7 @@
"nginx" "nginx"
], ],
"requirements": { "requirements": {
"yunohost": ">> 3.8.1" "yunohost": ">> 4.1.7"
}, },
"arguments": { "arguments": {
"install" : [ "install" : [

View file

@ -48,7 +48,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=2
ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_app_setting_set --app=$app --key=is_public --value=$is_public
ynh_app_setting_set --app=$app --key=language --value=$language ynh_app_setting_set --app=$app --key=language --value=$language
#================================================= #=================================================
@ -56,7 +55,7 @@ ynh_app_setting_set --app=$app --key=language --value=$language
#================================================= #=================================================
# FIND AND OPEN A PORT # FIND AND OPEN A PORT
#================================================= #=================================================
ynh_script_progression --message="Configuring firewall..." --weight=2 ynh_script_progression --message="Finding an available port..." --weight=2
# Find an available port # Find an available port
port=$(ynh_find_port --port=3000) port=$(ynh_find_port --port=3000)
@ -104,7 +103,7 @@ ynh_setup_source --dest_dir=$final_path
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
#================================================= #=================================================
ynh_script_progression --message="Configuring Nginx web server..." --weight=2 ynh_script_progression --message="Configuring NGINX web server..." --weight=2
# Create a dedicated nginx config # Create a dedicated nginx config
ynh_add_nginx_config ynh_add_nginx_config