1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tiddlywiki_ynh.git synced 2024-09-03 20:26:34 +02:00

Merge pull request #11 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2021-06-24 23:23:45 +02:00 committed by GitHub
commit ebb23019cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 47 additions and 63 deletions

View file

@ -1,3 +1,8 @@
<!--
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.
-->
# TiddlyWiki for YunoHost # TiddlyWiki for YunoHost
[![Integration level](https://dash.yunohost.org/integration/tiddlywiki.svg)](https://dash.yunohost.org/appci/app/tiddlywiki) ![](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/tiddlywiki.svg)](https://dash.yunohost.org/appci/app/tiddlywiki) ![](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.maintain.svg)
@ -5,45 +10,33 @@
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
> *This package allow you to install TiddlyWiki quickly and simply on a YunoHost server. > *This package allows you to install TiddlyWiki quickly and simply on a YunoHost server.
If you dont have YunoHost, please see [here](https://yunohost.org/install) to know how to install and enjoy it.* If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## Overview ## Overview
TiddlyWiki is a non-linear personal web notebook that anyone can use and keep forever, independently of any corporation.
TiddlyWiki is a complete interactive wiki in JavaScript. It can be used as a single HTML file in the browser or as a powerful Node.js application. It is highly customisable: the entire user interface is itself implemented in hackable WikiText.
**Shipped version:** 5.1.23 A non-linear personal web notebook
**Shipped version:** 5.1.23~ynh4
**Demo:** https://tiddlywiki.com/
## Screenshots ## Screenshots
![](screenshot.png) ![](./doc/screenshots/.DS_Store)
![](./doc/screenshots/screenshot.png)
## Demo ## Documentation and resources
* [Official demo](https://tiddlywiki.com/) * Official app website: https://tiddlywiki.com/
* Official admin documentation: https://tiddlywiki.com/
* Upstream app code repository: https://github.com/Jermolene/TiddlyWiki5
* YunoHost documentation for this app: https://yunohost.org/app_tiddlywiki
* Report a bug: https://github.com/YunoHost-Apps/tiddlywiki_ynh/issues
## Documentation ## Developer info
* Official documentation: Link to the official documentation of this app Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing).
* YunoHost documentation: If specific documentation is needed, feel free to contribute.
#### Supported architectures
* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/tiddlywiki.svg)](https://ci-apps.yunohost.org/ci/apps/tiddlywiki/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/tiddlywiki.svg)](https://ci-apps-arm.yunohost.org/ci/apps/tiddlywiki/)
## Links
* Report a bug: https://github.com/YunoHost-Apps/tiddlywiki_ynh/issues
* App website: https://tiddlywiki.com/
* Upstream app repository: https://github.com/Jermolene/TiddlyWiki5
* YunoHost website: https://yunohost.org/
---
## Developers info
Please do your pull request to the [testing branch](https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing).
To try the testing branch, please proceed like that. To try the testing branch, please proceed like that.
``` ```
@ -51,3 +44,5 @@ sudo yunohost app install https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/t
or or
sudo yunohost app upgrade tiddlywiki -u https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing --debug sudo yunohost app upgrade tiddlywiki -u https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing --debug
``` ```
**More info regarding app packaging:** https://yunohost.org/packaging_apps

View file

@ -1,45 +1,34 @@
# TiddlyWiki pour YunoHost # TiddlyWiki pour YunoHost
[![Integration level](https://dash.yunohost.org/integration/tiddlywiki.svg)](https://dash.yunohost.org/appci/app/tiddlywiki) ![](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.maintain.svg) [![Niveau d'intégration](https://dash.yunohost.org/integration/tiddlywiki.svg)](https://dash.yunohost.org/appci/app/tiddlywiki) ![](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/tiddlywiki.maintain.svg)
[![Installer TiddlyWiki avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=tiddlywiki) [![Installer TiddlyWiki avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=tiddlywiki)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)*
> *Ce package vous permet dinstaller TiddlyWiki rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet d'installer TiddlyWiki rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/install) pour savoir comment linstaller et en profiter.* Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
## Vue densemble ## Vue d'ensemble
TiddlyWiki est un cahier Web personnel non linéaire que tout le monde peut utiliser et conserver pour toujours, indépendamment de toute entreprise.
TiddlyWiki est un wiki interactif complet en JavaScript. Il peut être utilisé comme un seul fichier HTML dans le navigateur ou comme une puissante application Node.js.
**Shipped version:** 5.1.23 Un carnet Web personnel non linéaire
## Captures décran **Version incluse :** 5.1.23~ynh4
![](screenshot.png) **Démo :** https://tiddlywiki.com/
## Démo ## Captures d'écran
* [Démo officielle](https://tiddlywiki.com/) ![](./doc/screenshots/.DS_Store)
![](./doc/screenshots/screenshot.png)
## Documentation ## Documentations et ressources
* Documentation officielle : https://tiddlywiki.com/languages/fr-FR/index.html * Site officiel de l'app : https://tiddlywiki.com/
* Documentation YunoHost : Si une documentation spécifique est nécessaire, n'hésitez pas à contribuer. * Documentation officielle de l'admin : https://tiddlywiki.com/
* Dépôt de code officiel de l'app : https://github.com/Jermolene/TiddlyWiki5
#### Architectures supportées * Documentation YunoHost pour cette app : https://yunohost.org/app_tiddlywiki
* Signaler un bug : https://github.com/YunoHost-Apps/tiddlywiki_ynh/issues
* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/tiddlywiki.svg)](https://ci-apps.yunohost.org/ci/apps/tiddlywiki/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/tiddlywiki.svg)](https://ci-apps-arm.yunohost.org/ci/apps/tiddlywiki/)
## Liens
* Signaler un bug : https://github.com/YunoHost-Apps/tiddlywiki_ynh/issues
* Site de l'application : https://tiddlywiki.com/
* Dépôt de lapplication principale : https://github.com/Jermolene/TiddlyWiki5
* Site web YunoHost : https://yunohost.org/
---
## Informations pour les développeurs ## Informations pour les développeurs
@ -51,3 +40,5 @@ sudo yunohost app install https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/t
ou ou
sudo yunohost app upgrade tiddlywiki -u https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing --debug sudo yunohost app upgrade tiddlywiki -u https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing --debug
``` ```
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps

View file

@ -6,7 +6,7 @@
"en": "A non-linear personal web notebook", "en": "A non-linear personal web notebook",
"fr": "Un carnet Web personnel non linéaire" "fr": "Un carnet Web personnel non linéaire"
}, },
"version": "5.1.23~ynh3", "version": "5.1.23~ynh4",
"url": "https://tiddlywiki.com/", "url": "https://tiddlywiki.com/",
"upstream": { "upstream": {
"license": "BSD-2-Clause", "license": "BSD-2-Clause",

View file

@ -107,8 +107,8 @@ ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2
pushd $final_path pushd $final_path
ynh_use_nodejs ynh_use_nodejs
npm install -g tiddlywiki npm install -g tiddlywiki
tiddlywiki mynewwiki --init server ynh_exec_as $app env $ynh_node_load_PATH tiddlywiki mynewwiki --init server
popd popd
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD
@ -116,7 +116,6 @@ pushd $final_path
ynh_script_progression --message="Configuring a systemd service..." --weight=1 ynh_script_progression --message="Configuring a systemd service..." --weight=1
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file=../conf/systemd.service ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file=../conf/systemd.service
ynh_replace_string --match_string="__YNH_NODE__" --replace_string="$ynh_node" --target_file=../conf/systemd.service
ynh_add_systemd_config ynh_add_systemd_config

View file

@ -118,7 +118,6 @@ ynh_install_nodejs --nodejs_version=$nodejs_version
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file=../conf/systemd.service ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file=../conf/systemd.service
ynh_replace_string --match_string="__YNH_NODE__" --replace_string="$ynh_node" --target_file=../conf/systemd.service
ynh_add_systemd_config ynh_add_systemd_config