mirror of
https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git
synced 2024-09-03 19:36:27 +02:00
Fix
This commit is contained in:
parent
37721e55e2
commit
abc284c310
6 changed files with 37 additions and 28 deletions
2
LICENSE
2
LICENSE
|
@ -19,5 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
|
||||
|
|
27
README.md
27
README.md
|
@ -46,8 +46,6 @@ You can install multiple instance of this app.
|
|||
* x86-64b - [![Build Status](https://ci-apps.yunohost.org/ci/logs/lionwikit2t%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/lionwikit2t/)
|
||||
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/lionwikit2t%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/lionwikit2t/)
|
||||
|
||||
* All. It's only using PHP.
|
||||
|
||||
## Limitations
|
||||
|
||||
* No different user accounts.
|
||||
|
@ -56,10 +54,9 @@ You can install multiple instance of this app.
|
|||
|
||||
You must define a base color during the installation (in hexadecimal format). You can choose it using this online tool for example: https://www.w3schools.com/colors/colors_picker.asp
|
||||
|
||||
It will modify the `templates/minimaxing/minimaxing.less` file and compile it using the lessc command (from the node-less package).
|
||||
|
||||
It will modify the templates/minimaxing/minimaxing.less file and compile it using the lessc command (from the node-less package).
|
||||
|
||||
After the installation, you can edit the base color found in /var/www/lionwikit2t/templates/minimaxing/minimaxing.less file.
|
||||
After the installation, you can edit the base color found in `/var/www/lionwikit2t/templates/minimaxing/minimaxing.less` file.
|
||||
|
||||
Search for:
|
||||
|
||||
|
@ -74,7 +71,6 @@ Go inside your installation folder (adapt it to your case, if it's the second in
|
|||
cd /var/www/lionwikit2t
|
||||
```
|
||||
|
||||
|
||||
Then compile it with:
|
||||
|
||||
```
|
||||
|
@ -87,14 +83,21 @@ If something goes wrong, you can go back to the original default file:
|
|||
cp templates/minimaxing/minimaxing_org.css templates/minimaxing/minimaxing.css
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT license
|
||||
|
||||
|
||||
## Links
|
||||
|
||||
* Report a bug: https://github.com/YunoHost-Apps/lionwiki-t2t_ynh/issues
|
||||
* App website: https://lionwiki-t2t.sourceforge.io/
|
||||
* YunoHost website: https://yunohost.org/
|
||||
|
||||
---
|
||||
|
||||
## Developer info
|
||||
|
||||
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/lionwiki-t2t_ynh/tree/testing).
|
||||
|
||||
To try the testing branch, please proceed like that.
|
||||
```
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/lionwiki-t2t_ynh/tree/testing --debug
|
||||
or
|
||||
sudo yunohost app upgrade lionwiki-t2t -u https://github.com/YunoHost-Apps/lionwiki-t2t_ynh/tree/testing --debug
|
||||
```
|
||||
|
|
24
README_fr.md
24
README_fr.md
|
@ -44,8 +44,6 @@ Vous pouvez passer le wiki en mode privé ou public, selon vos usages.
|
|||
* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/lionwikit2t%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/lionwikit2t/)
|
||||
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/lionwikit2t%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/lionwikit2t/)
|
||||
|
||||
* En général toutes les architectures sont supportées, cela utilise PHP.
|
||||
|
||||
## Limitations
|
||||
|
||||
* Un seul compte utilisateur.
|
||||
|
@ -54,7 +52,7 @@ Vous pouvez passer le wiki en mode privé ou public, selon vos usages.
|
|||
|
||||
Vous devez définir une couleur de base durant l'installation, au format hexadécimal. Vous pouvez la choisir en utilisant cet outil en ligne : https://www.w3schools.com/colors/colors_picker.asp
|
||||
|
||||
La couleur choisie va modifier le fichier templates/minimaxing/minimaxing.less et le compiler en utilisant la commande lessc (du paquet node-less).
|
||||
La couleur choisie va modifier le fichier `templates/minimaxing/minimaxing.less` et le compiler en utilisant la commande lessc (du paquet node-less).
|
||||
|
||||
Après l'installation, vous pouvez éditer la couleur de base dans le fichier `/var/www/lionwikit2t/templates/minimaxing/minimaxing.less`
|
||||
|
||||
|
@ -65,7 +63,7 @@ Recherchez pour :
|
|||
@MainColor: #D17732;
|
||||
```
|
||||
|
||||
Allez dans le dossier d'installation (à adapter à votre cas, si c'est la seconde instance installée, cela sera nommé /var/www/lionwikit2t__2/):
|
||||
Allez dans le dossier d'installation (à adapter à votre cas, si c'est la seconde instance installée, cela sera nommé `/var/www/lionwikit2t__2/`) :
|
||||
|
||||
```
|
||||
cd /var/www/lionwikit2t
|
||||
|
@ -83,13 +81,21 @@ Si quelque chose se passe mal, vous pouvez revenir au fichier original :
|
|||
cp templates/minimaxing/minimaxing_org.css templates/minimaxing/minimaxing.css
|
||||
```
|
||||
|
||||
## Licence
|
||||
|
||||
Licence MIT
|
||||
|
||||
|
||||
## Liens
|
||||
|
||||
* Signaler un bug: https://github.com/YunoHost-Apps/lionwiki-t2t_ynh/issues
|
||||
* Site de l'application: https://lionwiki-t2t.sourceforge.io/
|
||||
* Site web YunoHost: https://yunohost.org/
|
||||
|
||||
---
|
||||
|
||||
## Informations pour les développeurs
|
||||
|
||||
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/lionwiki-t2t_ynh/tree/testing).
|
||||
|
||||
Pour essayer la branche testing, procédez comme suit.
|
||||
```
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/lionwiki-t2t_ynh/tree/testing --debug
|
||||
ou
|
||||
sudo yunohost app upgrade lionwiki-t2t -u https://github.com/YunoHost-Apps/lionwiki-t2t_ynh/tree/testing --debug
|
||||
```
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
language="en"
|
||||
is_public=1 (PUBLIC|public=1|private=0)
|
||||
password="azerty1234"
|
||||
wiki="My Wiki"
|
||||
color="328cc1"
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=1
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
"name": "domain",
|
||||
"type": "domain",
|
||||
"ask": {
|
||||
"en": "Choose a domain name for lionwiki-t2t",
|
||||
"fr": "Choisissez un nom de domaine pour lionwiki-t2t"
|
||||
"en": "Choose a domain name for Lionwiki",
|
||||
"fr": "Choisissez un nom de domaine pour Lionwiki"
|
||||
},
|
||||
"example": "domain.org"
|
||||
},
|
||||
|
@ -35,8 +35,8 @@
|
|||
"name": "path",
|
||||
"type": "path",
|
||||
"ask": {
|
||||
"en": "Choose a path for lionwiki-t2t",
|
||||
"fr": "Choisissez un chemin pour lionwiki-t2t"
|
||||
"en": "Choose a path for Lionwiki",
|
||||
"fr": "Choisissez un chemin pour Lionwiki"
|
||||
},
|
||||
"example": "/lionwiki",
|
||||
"default": "/lionwiki"
|
||||
|
|
|
@ -221,7 +221,7 @@ fi
|
|||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
ynh_script_progression --message="Reloading nginx web server..." --weight=1
|
||||
ynh_script_progression --message="Reloading NGINX web server..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
|
|
Loading…
Reference in a new issue