mirror of
https://github.com/YunoHost-Apps/tiddlywiki_ynh.git
synced 2024-09-03 20:26:34 +02:00
commit
dba462cf8b
8 changed files with 36 additions and 28 deletions
BIN
.DS_Store
vendored
BIN
.DS_Store
vendored
Binary file not shown.
23
README.md
23
README.md
|
@ -5,7 +5,7 @@ It shall NOT be edited by hand.
|
|||
|
||||
# TiddlyWiki for YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/tiddlywiki)  
|
||||
[](https://dash.yunohost.org/appci/app/tiddlywiki)  
|
||||
[](https://install-app.yunohost.org/?app=tiddlywiki)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
@ -17,14 +17,14 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
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.2.2~ynh1
|
||||
**Shipped version:** 5.2.2~ynh2
|
||||
|
||||
**Demo:** https://tiddlywiki.com/
|
||||
|
||||
## Screenshots
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## Disclaimers / important information
|
||||
|
||||
|
@ -39,21 +39,22 @@ To restore a local backup to the server, drag and drop your tiddlers backup file
|
|||
|
||||
## Documentation and resources
|
||||
|
||||
* 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
|
||||
* 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>
|
||||
|
||||
## Developer info
|
||||
|
||||
Please send 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.
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing --debug
|
||||
or
|
||||
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
|
||||
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
||||
|
|
29
README_fr.md
29
README_fr.md
|
@ -1,10 +1,14 @@
|
|||
<!--
|
||||
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 pour YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/tiddlywiki)  
|
||||
[](https://dash.yunohost.org/appci/app/tiddlywiki)  
|
||||
[](https://install-app.yunohost.org/?app=tiddlywiki)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
||||
> *Ce package vous permet d'installer TiddlyWiki 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.*
|
||||
|
@ -13,14 +17,14 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
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.
|
||||
|
||||
**Version incluse :** 5.2.2~ynh1
|
||||
**Version incluse :** 5.2.2~ynh2
|
||||
|
||||
**Démo :** https://tiddlywiki.com/
|
||||
|
||||
## Captures d'écran
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## Avertissements / informations importantes
|
||||
|
||||
|
@ -35,21 +39,22 @@ To restore a local backup to the server, drag and drop your tiddlers backup file
|
|||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l'app : https://tiddlywiki.com/
|
||||
* Documentation officielle de l'admin : https://tiddlywiki.com/
|
||||
* Dépôt de code officiel de l'app : https://github.com/Jermolene/TiddlyWiki5
|
||||
* Documentation YunoHost pour cette app : https://yunohost.org/app_tiddlywiki
|
||||
* Signaler un bug : https://github.com/YunoHost-Apps/tiddlywiki_ynh/issues
|
||||
* Site officiel de l'app : <https://tiddlywiki.com/>
|
||||
* Documentation officielle de l'admin : <https://tiddlywiki.com/>
|
||||
* Dépôt de code officiel de l'app : <https://github.com/Jermolene/TiddlyWiki5>
|
||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_tiddlywiki>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/tiddlywiki_ynh/issues>
|
||||
|
||||
## Informations pour les développeurs
|
||||
|
||||
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing).
|
||||
|
||||
Pour essayer la branche testing, procédez comme suit.
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/tiddlywiki_ynh/tree/testing --debug
|
||||
ou
|
||||
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
|
||||
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
|
||||
|
|
|
@ -6,7 +6,7 @@ After=network.target
|
|||
Type=simple
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__FINALPATH__
|
||||
WorkingDirectory=__FINALPATH__/
|
||||
Environment=PATH=__ENV_PATH__
|
||||
Environment=NODE_ENV=production
|
||||
ExecStart=__YNH_NODE__ tiddlywiki ++languages/fr-FR mynewwiki --listen port=__PORT__
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Non-linear personal web notebook",
|
||||
"fr": "Carnet Web personnel non linéaire"
|
||||
},
|
||||
"version": "5.2.2~ynh1",
|
||||
"version": "5.2.2~ynh2",
|
||||
"url": "https://tiddlywiki.com/",
|
||||
"upstream": {
|
||||
"license": "BSD-2-Clause",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
nodejs_version="14"
|
||||
nodejs_version="18"
|
||||
|
||||
tiddlywiki_version="5.2.2"
|
||||
|
||||
|
|
|
@ -99,7 +99,8 @@ ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2
|
|||
|
||||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
npm -g install tiddlywiki@${tiddlywiki_version}
|
||||
npm install npm@latest --location=global
|
||||
npm install tiddlywiki@${tiddlywiki_version} --location=global
|
||||
ynh_exec_as $app env $ynh_node_load_PATH tiddlywiki mynewwiki --init server
|
||||
popd
|
||||
|
||||
|
|
|
@ -94,7 +94,8 @@ then
|
|||
|
||||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
npm update -g tiddlywiki@${tiddlywiki_version}
|
||||
npm install npm@latest --location=global
|
||||
npm update tiddlywiki --location=global
|
||||
popd
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue