mirror of
https://github.com/YunoHost-Apps/slingcode_ynh.git
synced 2024-09-03 20:25:55 +02:00
Merge c98f13fde8
into 01e60651b2
This commit is contained in:
commit
d213a798c7
16 changed files with 398 additions and 113 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,2 +1,4 @@
|
|||
|
||||
.DS_Store
|
||||
*~
|
||||
*.sw[op]
|
||||
|
|
8
ALL_README.md
Normal file
8
ALL_README.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# All available README files by language
|
||||
|
||||
- [Read the README in English](README.md)
|
||||
- [Lea el README en español](README_es.md)
|
||||
- [Irakurri README euskaraz](README_eu.md)
|
||||
- [Lire le README en français](README_fr.md)
|
||||
- [Le o README en galego](README_gl.md)
|
||||
- [阅读中文(简体)的 README](README_zh_Hans.md)
|
30
README.md
30
README.md
|
@ -1,5 +1,5 @@
|
|||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
|
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
|
|||
|
||||
[](https://install-app.yunohost.org/?app=slingcode)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
*[Read this README in other languages.](./ALL_README.md)*
|
||||
|
||||
> *This package allows you to install Slingcode 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.*
|
||||
> *This package allows you to install Slingcode 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
|
||||
|
||||
|
@ -31,27 +31,31 @@ Slingcode is a code editor contained in a single HTML file. Therefore, it has no
|
|||
|
||||
**Shipped version:** 0.2.2~ynh5
|
||||
|
||||
**Demo:** https://slingcode.net/slingcode.html
|
||||
**Demo:** <https://slingcode.net/slingcode.html>
|
||||
|
||||
## Screenshots
|
||||
|
||||

|
||||
|
||||
## :red_circle: Antifeatures
|
||||
|
||||
- **Upstream not maintained**: This software is not maintained anymore. Expect it to break down over time, be exposed to unfixed security breaches, etc.
|
||||
|
||||
## Documentation and resources
|
||||
|
||||
* Official app website: <https://slingcode.net/>
|
||||
* Official user documentation: <https://slingcode.net/screencasts.html>
|
||||
* Upstream app code repository: <https://github.com/chr15m/slingcode>
|
||||
* YunoHost Store: <https://apps.yunohost.org/app/slingcode>
|
||||
* Report a bug: <https://github.com/YunoHost-Apps/slingcode_ynh/issues>
|
||||
- Official app website: <https://slingcode.net/>
|
||||
- Official user documentation: <https://slingcode.net/screencasts.html>
|
||||
- Upstream app code repository: <https://github.com/chr15m/slingcode>
|
||||
- YunoHost Store: <https://apps.yunohost.org/app/slingcode>
|
||||
- Report a bug: <https://github.com/YunoHost-Apps/slingcode_ynh/issues>
|
||||
|
||||
## Developer info
|
||||
|
||||
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing).
|
||||
Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing).
|
||||
|
||||
To try the testing branch, please proceed like that.
|
||||
To try the `testing` branch, please proceed like that:
|
||||
|
||||
``` bash
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
or
|
||||
sudo yunohost app upgrade slingcode -u https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
|
|
64
README_es.md
Normal file
64
README_es.md
Normal file
|
@ -0,0 +1,64 @@
|
|||
<!--
|
||||
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
No se debe editar a mano.
|
||||
-->
|
||||
|
||||
# Slingcode para Yunohost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/slingcode)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=slingcode)
|
||||
|
||||
*[Leer este README en otros idiomas.](./ALL_README.md)*
|
||||
|
||||
> *Este paquete le permite instalarSlingcode rapidamente y simplement en un servidor YunoHost.*
|
||||
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
|
||||
|
||||
## Descripción general
|
||||
|
||||
Slingcode is a code editor contained in a single HTML file. Therefore, it has no server component, so all of your data is stored in your browser's cache. However, it is still possible to make web apps, run them, export them, and even share them using peer-to-peer.
|
||||
|
||||
### Features:
|
||||
|
||||
- You can make, run, and share web apps with it.
|
||||
- You don't need any complicated tools to use it, just a web browser.
|
||||
- You don't need a server, hosting, or an SSL certificate to run the web apps.
|
||||
- You can put Slingcode on a web site, run it from a USB stick, laptop, or phone, and it doesn't need an internet connection to work.
|
||||
- You can "add to home screen" in your phone's browser to easily access your library of programs on the go.
|
||||
- You can share apps peer-to-peer over WebTorrent.
|
||||
- It's private. You only share what you choose.
|
||||
|
||||
|
||||
**Versión actual:** 0.2.2~ynh5
|
||||
|
||||
**Demo:** <https://slingcode.net/slingcode.html>
|
||||
|
||||
## Capturas
|
||||
|
||||

|
||||
|
||||
## :red_circle: Características no deseables
|
||||
|
||||
- **Upstream not maintained**: This software is not maintained anymore. Expect it to break down over time, be exposed to unfixed security breaches, etc.
|
||||
|
||||
## Documentaciones y recursos
|
||||
|
||||
- Sitio web oficial: <https://slingcode.net/>
|
||||
- Documentación usuario oficial: <https://slingcode.net/screencasts.html>
|
||||
- Repositorio del código fuente oficial de la aplicación : <https://github.com/chr15m/slingcode>
|
||||
- Catálogo YunoHost: <https://apps.yunohost.org/app/slingcode>
|
||||
- Reportar un error: <https://github.com/YunoHost-Apps/slingcode_ynh/issues>
|
||||
|
||||
## Información para desarrolladores
|
||||
|
||||
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing
|
||||
|
||||
Para probar la rama `testing`, sigue asÍ:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
o
|
||||
sudo yunohost app upgrade slingcode -u https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
|
64
README_eu.md
Normal file
64
README_eu.md
Normal file
|
@ -0,0 +1,64 @@
|
|||
<!--
|
||||
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
|
||||
EZ editatu eskuz.
|
||||
-->
|
||||
|
||||
# Slingcode YunoHost-erako
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/slingcode)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=slingcode)
|
||||
|
||||
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
|
||||
|
||||
> *Pakete honek Slingcode YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
|
||||
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
|
||||
|
||||
## Aurreikuspena
|
||||
|
||||
Slingcode is a code editor contained in a single HTML file. Therefore, it has no server component, so all of your data is stored in your browser's cache. However, it is still possible to make web apps, run them, export them, and even share them using peer-to-peer.
|
||||
|
||||
### Features:
|
||||
|
||||
- You can make, run, and share web apps with it.
|
||||
- You don't need any complicated tools to use it, just a web browser.
|
||||
- You don't need a server, hosting, or an SSL certificate to run the web apps.
|
||||
- You can put Slingcode on a web site, run it from a USB stick, laptop, or phone, and it doesn't need an internet connection to work.
|
||||
- You can "add to home screen" in your phone's browser to easily access your library of programs on the go.
|
||||
- You can share apps peer-to-peer over WebTorrent.
|
||||
- It's private. You only share what you choose.
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 0.2.2~ynh5
|
||||
|
||||
**Demoa:** <https://slingcode.net/slingcode.html>
|
||||
|
||||
## Pantaila-argazkiak
|
||||
|
||||

|
||||
|
||||
## :red_circle: Ezaugarri zalantzagarriak
|
||||
|
||||
- **Jatorrizko garapena utzita**: Software honek ez du arduradunik. Denborak aurrera egin ahala funtzionatzeari utziko dio, konpondu gabeko segurtasun arazoak izango ditu, etab.
|
||||
|
||||
## Dokumentazioa eta baliabideak
|
||||
|
||||
- Aplikazioaren webgune ofiziala: <https://slingcode.net/>
|
||||
- Erabiltzaileen dokumentazio ofiziala: <https://slingcode.net/screencasts.html>
|
||||
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/chr15m/slingcode>
|
||||
- YunoHost Denda: <https://apps.yunohost.org/app/slingcode>
|
||||
- Eman errore baten berri: <https://github.com/YunoHost-Apps/slingcode_ynh/issues>
|
||||
|
||||
## Garatzaileentzako informazioa
|
||||
|
||||
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing).
|
||||
|
||||
`testing` abarra probatzeko, ondorengoa egin:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
edo
|
||||
sudo yunohost app upgrade slingcode -u https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>
|
36
README_fr.md
36
README_fr.md
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
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.
|
||||
Nota bene : ce README est automatiquement généré par <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
Il NE doit PAS être modifié à la main.
|
||||
-->
|
||||
|
||||
# Slingcode pour YunoHost
|
||||
|
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
|
|||
|
||||
[](https://install-app.yunohost.org/?app=slingcode)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
*[Lire le README dans d'autres langues.](./ALL_README.md)*
|
||||
|
||||
> *Ce package vous permet d’installer Slingcode 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.*
|
||||
> *Ce package vous permet d’installer Slingcode rapidement et simplement sur un serveur YunoHost.*
|
||||
> *Si vous n’avez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment l’installer et en profiter.*
|
||||
|
||||
## Vue d’ensemble
|
||||
|
||||
|
@ -29,32 +29,36 @@ Slingcode est un éditeur de code contenu dans un unique fichier HTML. Il n'a pa
|
|||
- C'est privé. Vous ne partagez que ce que vous choisissez.
|
||||
|
||||
|
||||
**Version incluse :** 0.2.2~ynh5
|
||||
**Version incluse :** 0.2.2~ynh5
|
||||
|
||||
**Démo :** https://slingcode.net/slingcode.html
|
||||
**Démo :** <https://slingcode.net/slingcode.html>
|
||||
|
||||
## Captures d’écran
|
||||
|
||||

|
||||
|
||||
## :red_circle: Anti-fonctionnalités
|
||||
|
||||
- **Application non maintenue **: Ce logiciel n'est plus maintenu. Attendez-vous à ce qu'il ne fonctionne plus avec le temps, et que l'on découvre des failles de sécurité qui ne seront pas corrigées, etc.
|
||||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l’app : <https://slingcode.net/>
|
||||
* Documentation officielle utilisateur : <https://slingcode.net/screencasts.html>
|
||||
* Dépôt de code officiel de l’app : <https://github.com/chr15m/slingcode>
|
||||
* YunoHost Store: <https://apps.yunohost.org/app/slingcode>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/slingcode_ynh/issues>
|
||||
- Site officiel de l’app : <https://slingcode.net/>
|
||||
- Documentation officielle utilisateur : <https://slingcode.net/screencasts.html>
|
||||
- Dépôt de code officiel de l’app : <https://github.com/chr15m/slingcode>
|
||||
- YunoHost Store : <https://apps.yunohost.org/app/slingcode>
|
||||
- Signaler un bug : <https://github.com/YunoHost-Apps/slingcode_ynh/issues>
|
||||
|
||||
## Informations pour les développeurs
|
||||
|
||||
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing).
|
||||
Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing).
|
||||
|
||||
Pour essayer la branche testing, procédez comme suit.
|
||||
Pour essayer la branche `testing`, procédez comme suit :
|
||||
|
||||
``` bash
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
ou
|
||||
sudo yunohost app upgrade slingcode -u https://github.com/YunoHost-Apps/slingcode_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>
|
||||
|
|
64
README_gl.md
Normal file
64
README_gl.md
Normal file
|
@ -0,0 +1,64 @@
|
|||
<!--
|
||||
NOTA: Este README foi creado automáticamente por <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
NON debe editarse manualmente.
|
||||
-->
|
||||
|
||||
# Slingcode para YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/slingcode)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=slingcode)
|
||||
|
||||
*[Le este README en outros idiomas.](./ALL_README.md)*
|
||||
|
||||
> *Este paquete permíteche instalar Slingcode de xeito rápido e doado nun servidor YunoHost.*
|
||||
> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.*
|
||||
|
||||
## Vista xeral
|
||||
|
||||
Slingcode is a code editor contained in a single HTML file. Therefore, it has no server component, so all of your data is stored in your browser's cache. However, it is still possible to make web apps, run them, export them, and even share them using peer-to-peer.
|
||||
|
||||
### Features:
|
||||
|
||||
- You can make, run, and share web apps with it.
|
||||
- You don't need any complicated tools to use it, just a web browser.
|
||||
- You don't need a server, hosting, or an SSL certificate to run the web apps.
|
||||
- You can put Slingcode on a web site, run it from a USB stick, laptop, or phone, and it doesn't need an internet connection to work.
|
||||
- You can "add to home screen" in your phone's browser to easily access your library of programs on the go.
|
||||
- You can share apps peer-to-peer over WebTorrent.
|
||||
- It's private. You only share what you choose.
|
||||
|
||||
|
||||
**Versión proporcionada:** 0.2.2~ynh5
|
||||
|
||||
**Demo:** <https://slingcode.net/slingcode.html>
|
||||
|
||||
## Capturas de pantalla
|
||||
|
||||

|
||||
|
||||
## :red_circle: Debes considerar
|
||||
|
||||
- **Upstream not maintained**: This software is not maintained anymore. Expect it to break down over time, be exposed to unfixed security breaches, etc.
|
||||
|
||||
## Documentación e recursos
|
||||
|
||||
- Web oficial da app: <https://slingcode.net/>
|
||||
- Documentación oficial para usuarias: <https://slingcode.net/screencasts.html>
|
||||
- Repositorio de orixe do código: <https://github.com/chr15m/slingcode>
|
||||
- Tenda YunoHost: <https://apps.yunohost.org/app/slingcode>
|
||||
- Informar dun problema: <https://github.com/YunoHost-Apps/slingcode_ynh/issues>
|
||||
|
||||
## Info de desenvolvemento
|
||||
|
||||
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing).
|
||||
|
||||
Para probar a rama `testing`, procede deste xeito:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
ou
|
||||
sudo yunohost app upgrade slingcode -u https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>
|
60
README_it.md
Normal file
60
README_it.md
Normal file
|
@ -0,0 +1,60 @@
|
|||
<!--
|
||||
N.B.: Questo README è stato automaticamente generato da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||
NON DEVE essere modificato manualmente.
|
||||
-->
|
||||
|
||||
# Slingcode per YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/slingcode)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=slingcode)
|
||||
|
||||
*[Leggi questo README in altre lingue.](./ALL_README.md)*
|
||||
|
||||
> *Questo pacchetto ti permette di installare Slingcode su un server YunoHost in modo semplice e veloce.*
|
||||
> *Se non hai YunoHost, consulta [la guida](https://yunohost.org/install) per imparare a installarlo.*
|
||||
|
||||
## Panoramica
|
||||
|
||||
Slingcode is a code editor contained in a single HTML file. Therefore, it has no server component, so all of your data is stored in your browser's cache. However, it is still possible to make web apps, run them, export them, and even share them using peer-to-peer.
|
||||
|
||||
### Features:
|
||||
|
||||
- You can make, run, and share web apps with it.
|
||||
- You don't need any complicated tools to use it, just a web browser.
|
||||
- You don't need a server, hosting, or an SSL certificate to run the web apps.
|
||||
- You can put Slingcode on a web site, run it from a USB stick, laptop, or phone, and it doesn't need an internet connection to work.
|
||||
- You can "add to home screen" in your phone's browser to easily access your library of programs on the go.
|
||||
- You can share apps peer-to-peer over WebTorrent.
|
||||
- It's private. You only share what you choose.
|
||||
|
||||
|
||||
**Versione pubblicata:** 0.2.2~ynh5
|
||||
|
||||
**Prova:** <https://slingcode.net/slingcode.html>
|
||||
|
||||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## Documentazione e risorse
|
||||
|
||||
- Sito web ufficiale dell’app: <https://slingcode.net/>
|
||||
- Documentazione ufficiale per gli utenti: <https://slingcode.net/screencasts.html>
|
||||
- Repository upstream del codice dell’app: <https://github.com/chr15m/slingcode>
|
||||
- Store di YunoHost: <https://apps.yunohost.org/app/slingcode>
|
||||
- Segnala un problema: <https://github.com/YunoHost-Apps/slingcode_ynh/issues>
|
||||
|
||||
## Informazioni per sviluppatori
|
||||
|
||||
Si prega di inviare la tua pull request alla [branch di `testing`](https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing).
|
||||
|
||||
Per provare la branch di `testing`, si prega di procedere in questo modo:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
o
|
||||
sudo yunohost app upgrade slingcode -u https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Maggiori informazioni riguardo il pacchetto di quest’app:** <https://yunohost.org/packaging_apps>
|
64
README_zh_Hans.md
Normal file
64
README_zh_Hans.md
Normal file
|
@ -0,0 +1,64 @@
|
|||
<!--
|
||||
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
|
||||
请勿手动编辑。
|
||||
-->
|
||||
|
||||
# YunoHost 上的 Slingcode
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/slingcode)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=slingcode)
|
||||
|
||||
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
|
||||
|
||||
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Slingcode。*
|
||||
> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。*
|
||||
|
||||
## 概况
|
||||
|
||||
Slingcode is a code editor contained in a single HTML file. Therefore, it has no server component, so all of your data is stored in your browser's cache. However, it is still possible to make web apps, run them, export them, and even share them using peer-to-peer.
|
||||
|
||||
### Features:
|
||||
|
||||
- You can make, run, and share web apps with it.
|
||||
- You don't need any complicated tools to use it, just a web browser.
|
||||
- You don't need a server, hosting, or an SSL certificate to run the web apps.
|
||||
- You can put Slingcode on a web site, run it from a USB stick, laptop, or phone, and it doesn't need an internet connection to work.
|
||||
- You can "add to home screen" in your phone's browser to easily access your library of programs on the go.
|
||||
- You can share apps peer-to-peer over WebTorrent.
|
||||
- It's private. You only share what you choose.
|
||||
|
||||
|
||||
**分发版本:** 0.2.2~ynh5
|
||||
|
||||
**演示:** <https://slingcode.net/slingcode.html>
|
||||
|
||||
## 截图
|
||||
|
||||

|
||||
|
||||
## :red_circle: 负面特征
|
||||
|
||||
- **Upstream not maintained**: This software is not maintained anymore. Expect it to break down over time, be exposed to unfixed security breaches, etc.
|
||||
|
||||
## 文档与资源
|
||||
|
||||
- 官方应用网站: <https://slingcode.net/>
|
||||
- 官方用户文档: <https://slingcode.net/screencasts.html>
|
||||
- 上游应用代码库: <https://github.com/chr15m/slingcode>
|
||||
- YunoHost 商店: <https://apps.yunohost.org/app/slingcode>
|
||||
- 报告 bug: <https://github.com/YunoHost-Apps/slingcode_ynh/issues>
|
||||
|
||||
## 开发者信息
|
||||
|
||||
请向 [`testing` 分支](https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing) 发送拉取请求。
|
||||
|
||||
如要尝试 `testing` 分支,请这样操作:
|
||||
|
||||
```bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
或
|
||||
sudo yunohost app upgrade slingcode -u https://github.com/YunoHost-Apps/slingcode_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>
|
|
@ -17,7 +17,8 @@ userdoc = "https://slingcode.net/screencasts.html"
|
|||
code = "https://github.com/chr15m/slingcode"
|
||||
|
||||
[integration]
|
||||
yunohost = ">= 11.2"
|
||||
yunohost = ">= 11.2.18"
|
||||
helpers_version = "2.1"
|
||||
architectures = "all"
|
||||
multi_instance = true
|
||||
ldap = false
|
||||
|
@ -42,6 +43,7 @@ ram.runtime = "50M"
|
|||
[resources.system_user]
|
||||
|
||||
[resources.install_dir]
|
||||
group = "www-data:r-x"
|
||||
|
||||
[resources.permissions]
|
||||
main.url = "/"
|
||||
|
|
|
@ -1,32 +1,23 @@
|
|||
#!/bin/bash
|
||||
|
||||
#=================================================
|
||||
# GENERIC START
|
||||
#=================================================
|
||||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# DECLARE DATA AND CONF FILES TO BACKUP
|
||||
#=================================================
|
||||
ynh_print_info --message="Declaring files to be backed up..."
|
||||
ynh_print_info "Declaring files to be backed up..."
|
||||
|
||||
#=================================================
|
||||
# BACKUP THE APP MAIN DIR
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="$install_dir"
|
||||
ynh_backup "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# BACKUP THE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
||||
ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)."
|
||||
ynh_print_info "Backup script completed for $app. (YunoHost will then actually copy those files to the archive)."
|
||||
|
|
|
@ -1,22 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
#=================================================
|
||||
# GENERIC STARTING
|
||||
#=================================================
|
||||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# MODIFY URL IN NGINX CONF
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=3
|
||||
ynh_script_progression "Updating NGINX web server configuration..."
|
||||
|
||||
ynh_change_url_nginx_config
|
||||
ynh_config_change_url_nginx
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Change of URL completed for $app" --last
|
||||
ynh_script_progression "Change of URL completed for $app"
|
||||
|
|
|
@ -1,36 +1,27 @@
|
|||
#!/bin/bash
|
||||
|
||||
#=================================================
|
||||
# GENERIC START
|
||||
#=================================================
|
||||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Setting up source files..." --weight=1
|
||||
ynh_script_progression "Setting up source files..."
|
||||
|
||||
mkdir -p $install_dir
|
||||
cp -a ../sources/slingcode.html $install_dir/slingcode.html
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir"
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir"
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring NGINX web server..." --weight=2
|
||||
ynh_script_progression "Configuring NGINX web server..."
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
ynh_config_add_nginx
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Installation of $app completed" --last
|
||||
ynh_script_progression "Installation of $app completed"
|
||||
|
|
|
@ -1,23 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
#=================================================
|
||||
# GENERIC START
|
||||
#=================================================
|
||||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# REMOVE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1
|
||||
ynh_script_progression "Removing NGINX web server configuration..."
|
||||
|
||||
# Remove the dedicated NGINX config
|
||||
ynh_remove_nginx_config
|
||||
ynh_config_remove_nginx
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Removal of $app completed" --last
|
||||
ynh_script_progression "Removal of $app completed"
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
#=================================================
|
||||
# GENERIC START
|
||||
#=================================================
|
||||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
|
@ -14,29 +8,26 @@ source /usr/share/yunohost/helpers
|
|||
# RESTORE THE NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
||||
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE APP MAIN DIR
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring $app main directory..." --weight=2
|
||||
ynh_script_progression "Restoring $app main directory..."
|
||||
|
||||
ynh_restore_file --origin_path="$install_dir"
|
||||
ynh_restore "$install_dir"
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir"
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir"
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
ynh_script_progression --message="Reloading NGINX web server..." --weight=3
|
||||
ynh_script_progression "Reloading NGINX web server..."
|
||||
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
ynh_systemctl --service=nginx --action=reload
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Restoration completed for $app" --last
|
||||
ynh_script_progression "Restoration completed for $app"
|
||||
|
|
|
@ -1,45 +1,33 @@
|
|||
#!/bin/bash
|
||||
|
||||
#=================================================
|
||||
# GENERIC START
|
||||
#=================================================
|
||||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
# FIXME: this is still supported but the recommendation is now to *always* re-setup the app sources wether or not the upstream sources changed
|
||||
if ynh_app_upstream_version_changed
|
||||
then
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=4
|
||||
ynh_script_progression "Upgrading source files..."
|
||||
|
||||
# Download from ../sources
|
||||
mkdir -p $install_dir
|
||||
cp -a ../sources/slingcode.html $install_dir/slingcode.html
|
||||
fi
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir"
|
||||
#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app:www-data "$install_dir"
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=2
|
||||
ynh_script_progression "Upgrading NGINX web server configuration..."
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
ynh_config_add_nginx
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Upgrade of $app completed" --last
|
||||
ynh_script_progression "Upgrade of $app completed"
|
||||
|
|
Loading…
Add table
Reference in a new issue