forked from YunoHost-Apps/guacamole_ynh
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f13b087
Showing
21 changed files
with
1,997 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*~ | ||
*.sw[op] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
File containing the license of your package. | ||
|
||
More information here: | ||
https://github.com/YunoHost/doc/blob/master/packaging_apps_guidelines_fr.md#yep-13---indiquer-la-licence-associ%C3%A9e-au-paquet---brouillon--auto--working- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# Usage of this package (REMOVE THIS SECTION BEFORE RELEASE) | ||
- Copy this app before working on it. | ||
- Edit the `conf/nginx.conf` file to match app prerequisites. | ||
- Edit the `manifest.json` with app specific info. | ||
- Edit the `install`, `upgrade`, `remove`, `backup`, and `restore` scripts. | ||
- Using the [script helpers documentation.](https://yunohost.org/#/packaging_apps_helpers) | ||
- Add a `LICENSE` file for the package. | ||
- Edit `README.md` and `README_fr.md`. | ||
|
||
# Example app for YunoHost | ||
|
||
[](https://dash.yunohost.org/appci/app/REPLACEBYYOURAPP)   | ||
[](https://install-app.yunohost.org/?app=REPLACEBYYOURAPP) | ||
|
||
*[Lire ce readme en français.](./README_fr.md)* | ||
|
||
> *This package allows you to install REPLACEBYYOURAPP 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 | ||
|
||
 | ||
|
||
## 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 | ||
|
||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/REPLACEBYYOURAPP/) | ||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/REPLACEBYYOURAPP/) | ||
|
||
## Limitations | ||
|
||
* Any known limitations. | ||
|
||
## Additional information | ||
|
||
* Other info you would like to add about this app. | ||
|
||
**More info on the documentation page:** | ||
https://yunohost.org/packaging_apps | ||
|
||
## Links | ||
|
||
* Report a bug: https://github.com/YunoHost-Apps/REPLACEBYYOURAPP_ynh/issues | ||
* App website: Link to the official website of this app. | ||
* Upstream app repository: Link to the official repository of the upstream app. | ||
* YunoHost website: https://yunohost.org/ | ||
|
||
--- | ||
|
||
## Developer info | ||
|
||
**Only if you want to use a testing branch for coding, instead of merging directly into master.** | ||
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/REPLACEBYYOURAPP_ynh/tree/testing). | ||
|
||
To try the testing branch, please proceed like that. | ||
``` | ||
sudo yunohost app install https://github.com/YunoHost-Apps/REPLACEBYYOURAPP_ynh/tree/testing --debug | ||
or | ||
sudo yunohost app upgrade REPLACEBYYOURAPP -u https://github.com/YunoHost-Apps/REPLACEBYYOURAPP_ynh/tree/testing --debug | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# App exemple pour YunoHost | ||
|
||
[](https://dash.yunohost.org/appci/app/REPLACEBYYOURAPP)   | ||
[](https://install-app.yunohost.org/?app=REPLACEBYYOURAPP) | ||
|
||
*[Read this readme in english.](./README.md)* | ||
|
||
> *Ce package vous permet d'installer REPLACEBYYOURAPP rapidement et simplement sur un serveur YunoHost. | ||
Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.* | ||
|
||
## Vue d'ensemble | ||
Description rapide de cette application. | ||
|
||
**Version incluse :** 1.0 | ||
|
||
## Captures d'écran | ||
|
||
 | ||
|
||
## Démo | ||
|
||
* [Démo officielle](Lien vers un site de démonstration de cette application.) | ||
|
||
## Configuration | ||
|
||
Comment configurer cette application : via le panneau d'administration, un fichier brut en SSH ou tout autre moyen. | ||
|
||
## Documentation | ||
|
||
* Documentation officielle : Lien vers la documentation officielle de cette application. | ||
* Documentation YunoHost : Si une documentation spécifique est nécessaire, n'hésitez pas à contribuer. | ||
|
||
## Caractéristiques spécifiques YunoHost | ||
|
||
#### Support multi-utilisateur | ||
|
||
* L'authentification LDAP et HTTP est-elle prise en charge ? | ||
* L'application peut-elle être utilisée par plusieurs utilisateurs ? | ||
|
||
#### Architectures supportées | ||
|
||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/REPLACEBYYOURAPP/) | ||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/REPLACEBYYOURAPP/) | ||
|
||
## Limitations | ||
|
||
* Limitations connues. | ||
|
||
## Informations additionnelles | ||
|
||
* Autres informations que vous souhaitez ajouter sur cette application. | ||
|
||
**Plus d'informations sur la page de documentation :** | ||
https://yunohost.org/packaging_apps | ||
|
||
## Liens | ||
|
||
* Signaler un bug : https://github.com/YunoHost-Apps/REPLACEBYYOURAPP_ynh/issues | ||
* Site de l'application : Lien vers le site officiel de cette application. | ||
* Dépôt de l'application principale : Lien vers le dépôt officiel de l'application principale. | ||
* Site web YunoHost : https://yunohost.org/ | ||
|
||
--- | ||
|
||
## Informations pour les développeurs | ||
|
||
**Seulement si vous voulez utiliser une branche de test pour le codage, au lieu de fusionner directement dans la banche principale.** | ||
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/REPLACEBYYOURAPP_ynh/tree/testing). | ||
|
||
Pour essayer la branche testing, procédez comme suit. | ||
``` | ||
sudo yunohost app install https://github.com/YunoHost-Apps/REPLACEBYYOURAPP_ynh/tree/testing --debug | ||
ou | ||
sudo yunohost app upgrade REPLACEBYYOURAPP -u https://github.com/YunoHost-Apps/REPLACEBYYOURAPP_ynh/tree/testing --debug | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# See here for more information | ||
# https://github.com/YunoHost/package_check#syntax-check_process-file | ||
|
||
# Move this file from check_process.default to check_process when you have filled it. | ||
|
||
;; Test complet | ||
; Manifest | ||
domain="domain.tld" (DOMAIN) | ||
path="/path" (PATH) | ||
admin="john" (USER) | ||
language="fr" | ||
is_public=1 (PUBLIC|public=1|private=0) | ||
password="pass" | ||
port="666" (PORT) | ||
; Checks | ||
pkg_linter=1 | ||
setup_sub_dir=1 | ||
setup_root=1 | ||
setup_nourl=0 | ||
setup_private=1 | ||
setup_public=1 | ||
upgrade=1 | ||
upgrade=1 from_commit=CommitHash | ||
backup_restore=1 | ||
multi_instance=1 | ||
port_already_use=0 | ||
change_url=1 | ||
;;; Options | ||
Email= | ||
Notification=none | ||
;;; Upgrade options | ||
; commit=CommitHash | ||
name=Name and date of the commit. | ||
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666& | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SOURCE_URL=url of app's source | ||
SOURCE_SUM=sha256 checksum | ||
SOURCE_SUM_PRG=sha256sum | ||
SOURCE_FORMAT=tar.gz | ||
SOURCE_IN_SUBDIR=true | ||
SOURCE_FILENAME= | ||
SOURCE_EXTRACT=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; | ||
location __PATH__/ { | ||
|
||
# Path to source | ||
alias __FINALPATH__/ ; | ||
|
||
# Force usage of https | ||
if ($scheme = http) { | ||
rewrite ^ https://$server_name$request_uri? permanent; | ||
} | ||
|
||
### Example PHP configuration (remove it if not used) | ||
index index.php; | ||
|
||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file | ||
#client_max_body_size 50M; | ||
|
||
try_files $uri $uri/ index.php; | ||
location ~ [^/]\.php(/|$) { | ||
fastcgi_split_path_info ^(.+?\.php)(/.*)$; | ||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; | ||
|
||
fastcgi_index index.php; | ||
include fastcgi_params; | ||
fastcgi_param REMOTE_USER $remote_user; | ||
fastcgi_param PATH_INFO $fastcgi_path_info; | ||
fastcgi_param SCRIPT_FILENAME $request_filename; | ||
} | ||
### End of PHP configuration part | ||
|
||
# Include SSOWAT user panel. | ||
include conf.d/yunohost_panel.conf.inc; | ||
} |
Oops, something went wrong.