1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git synced 2024-09-03 19:36:27 +02:00
lionwiki-t2t_ynh/README.md

104 lines
4.4 KiB
Markdown
Raw Normal View History

2022-07-18 20:27:39 +02:00
<!--
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.
-->
2020-03-27 09:49:21 +01:00
2022-07-18 20:27:39 +02:00
# Lionwiki for YunoHost
2023-03-17 12:30:09 +01:00
[![Integration level](https://dash.yunohost.org/integration/lionwiki-t2t.svg)](https://dash.yunohost.org/appci/app/lionwiki-t2t) ![Working status](https://ci-apps.yunohost.org/ci/badges/lionwiki-t2t.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/lionwiki-t2t.maintain.svg)
2022-07-18 20:27:39 +02:00
[![Install Lionwiki with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=lionwiki-t2t)
2020-04-28 08:35:33 +02:00
2020-03-01 11:28:28 +01:00
*[Lire ce readme en français.](./README_fr.md)*
2022-07-18 20:27:39 +02:00
> *This package allows you to install Lionwiki 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.*
2020-03-01 11:28:28 +01:00
## Overview
2020-04-23 12:36:08 +02:00
LionWiki-t2t is a minimalist Wiki engine programmed in PHP. It is extensible, templatable, file based (it doesn't need database like MySQL) and requires just one file to function (30 kb). It is suitable for small websites, personal notebooks or journals. This version is using the lightweight markup language TXT2TAGS.
2020-03-01 11:28:28 +01:00
2021-01-27 09:36:37 +01:00
2023-07-10 07:58:53 +02:00
**Shipped version:** 3.2.12~ynh4
2022-08-28 12:51:23 +02:00
2022-07-18 20:27:39 +02:00
## Screenshots
![Screenshot of Lionwiki](./doc/screenshots/screenshot_lionwikit2t.png)
2020-03-01 11:28:28 +01:00
2022-07-18 20:27:39 +02:00
## Disclaimers / important information
2020-03-01 11:28:28 +01:00
## Configuration
2020-11-27 11:37:56 +01:00
In the root folder of this app, there are two files: `config.php` and `config.t2t`
2020-04-23 12:36:08 +02:00
2020-11-27 11:37:56 +01:00
- `config.php` is for changing password, the template used, default page. You can also define an administrator password which has some more rights (it's possible to lock some pages and modify them only with the administrator password, add some IP address to a blacklist)
2020-04-23 12:36:08 +02:00
2020-11-27 11:37:56 +01:00
- `config.t2t` is for tweaking your wiki syntax. You can define more tags (using the txt2tags rules) for specific behaviors.
2020-04-23 12:36:08 +02:00
2020-11-27 11:37:56 +01:00
The `pheditor.php` tool at the root of the site allows you to edit all the necessary configuration files. You can remove or rename it from its interface. The password is the same as the one defined during installation.
2020-03-01 11:28:28 +01:00
#### Multi-users support
This is only a single password for editing the wiki (it's not multi-user), and one other password for administration. Both are set to the same one defined in the lionwiki-t2t during the installation by YunoHost.
You can set the wiki to private (only readable when you are connected to YunoHost SSO) or public (readable by the whole internet).
You can install multiple instance of this app.
2020-03-01 11:28:28 +01:00
## Additional information
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
2020-03-01 11:28:28 +01:00
2020-11-27 11:21:46 +01:00
It will modify the `templates/minimaxing/minimaxing.less` file and compile it using the lessc command (from the node-less package).
2020-03-01 11:28:28 +01:00
2020-11-27 11:21:46 +01:00
After the installation, you can edit the base color found in `/var/www/lionwikit2t/templates/minimaxing/minimaxing.less` file.
Search for:
```
/* For YunoHost config */
@MainColor: #D17732;
```
Go inside your installation folder (adapt it to your case, if it's the second instance you've installed, it will be named /var/www/lionwikit2t__2/):
```
cd /var/www/lionwikit2t
```
2020-03-01 11:28:28 +01:00
Then compile it with:
2020-03-01 11:28:28 +01:00
```
lessc templates/minimaxing/minimaxing.less > templates/minimaxing/minimaxing.css
```
2020-03-01 11:28:28 +01:00
If something goes wrong, you can go back to the original default file:
2020-03-01 11:28:28 +01:00
```
cp templates/minimaxing/minimaxing_org.css templates/minimaxing/minimaxing.css
2020-03-01 11:28:28 +01:00
```
2020-04-23 10:02:55 +02:00
2022-07-18 20:27:39 +02:00
## Documentation and resources
2020-11-27 11:21:46 +01:00
2022-07-18 20:27:39 +02:00
* Official app website: <https://lionwiki-t2t.sourceforge.io/>
* Official user documentation: <https://github.com/farvardin/whatistxt2tags>
* Official admin documentation: <https://lionwiki-t2t.sourceforge.io/>
* Upstream app code repository: <https://sourceforge.net/projects/lionwiki-t2t>
* YunoHost documentation for this app: <https://yunohost.org/app_lionwiki-t2t>
* Report a bug: <https://github.com/YunoHost-Apps/lionwiki-t2t_ynh/issues>
2020-11-27 11:21:46 +01:00
## 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.
2022-07-18 20:27:39 +02:00
``` bash
2020-11-27 11:21:46 +01:00
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
```
2022-07-18 20:27:39 +02:00
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>