commit
90fb1a7cb3
24
README.md
24
README.md
@ -3,19 +3,19 @@
|
|||||||
[](https://dash.yunohost.org/appci/app/wikijs)
|
[](https://dash.yunohost.org/appci/app/wikijs)
|
||||||
[](https://install-app.yunohost.org/?app=wikijs)
|
[](https://install-app.yunohost.org/?app=wikijs)
|
||||||
|
|
||||||
> *This package allow you to install wikijs quickly and simply on a YunoHost server.
|
> *This package allows you to install wikijs easily and quickly on a YunoHost server.
|
||||||
If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.*
|
If you don't have YunoHost, please look at [the guide](https://yunohost.org/#/install) to learn how to install it.*
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
An open source, modern and powerful wiki app built on Node.js, Git and Markdown for YunoHost.
|
A copylefted libre software, modern and powerful wiki app built on Node.js, Git and Markdown for YunoHost.
|
||||||
|
|
||||||
**Shipped version:** 2.0.12
|
**Shipped version:** 2.0.12
|
||||||
|
|
||||||
## Important points to read before installing
|
## Important points before installing
|
||||||
|
|
||||||
**Wiki.js is still under development, all features not already implemented.**
|
**Wiki.js is still under development, not all features are implemented yet.**
|
||||||
|
|
||||||
**Wiki.js** require a dedicated **root domain**, eg. wikijs.domain.tld
|
**Wiki.js** requires a dedicated **root domain**, e.g. wikijs.domain.tld
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
@ -33,15 +33,15 @@ An open source, modern and powerful wiki app built on Node.js, Git and Markdown
|
|||||||
|
|
||||||
## YunoHost specific features
|
## YunoHost specific features
|
||||||
|
|
||||||
#### Multi-users support
|
#### Multi-user support
|
||||||
|
|
||||||
LDAP is implemented, root will receive a mail at the end of the installation or the upgrade with the informations to configure LDAP.
|
LDAP is implemented, root will receive an e-mail at the end of the installation or the upgrade with the info on how to configure LDAP.
|
||||||
No HTTP auth for now but planned to be supported.
|
No HTTP auth for now, but planned for the future.
|
||||||
The app can be used by multiple users
|
The app can be used by multiple users.
|
||||||
|
|
||||||
#### Supported architectures
|
#### Supported architectures
|
||||||
|
|
||||||
* x86-64b - [](https://ci-apps.yunohost.org/ci/apps/wikijs/)
|
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/wikijs/)
|
||||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/wikijs/)
|
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/wikijs/)
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
@ -60,7 +60,7 @@ The app can be used by multiple users
|
|||||||
Developers info
|
Developers info
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
Please do your pull request to the [testing branch](https://github.com/YunoHost-Apps/wikijs_ynh/tree/testing).
|
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/wikijs_ynh/tree/testing).
|
||||||
|
|
||||||
To try the testing branch, please proceed like that.
|
To try the testing branch, please proceed like that.
|
||||||
```
|
```
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"en": "An open source, modern and powerful wiki app built on Node.js, Git and Markdown.",
|
"en": "An open source, modern and powerful wiki app built on Node.js, Git and Markdown.",
|
||||||
"fr": "Un wiki moderne et open source propulsé Node.js, Git et Markdown."
|
"fr": "Un wiki moderne et open source propulsé Node.js, Git et Markdown."
|
||||||
},
|
},
|
||||||
"version": "2.0.12~ynh1",
|
"version": "2.0.12~ynh2",
|
||||||
"url": "https://wiki.js.org/",
|
"url": "https://wiki.js.org/",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
@ -87,6 +87,7 @@ ynh_app_setting_set --app=$app --key=db_name --value=$db_name
|
|||||||
ynh_app_setting_set --app=$app --key=db_pwd --value=$db_pwd
|
ynh_app_setting_set --app=$app --key=db_pwd --value=$db_pwd
|
||||||
ynh_psql_test_if_first_run
|
ynh_psql_test_if_first_run
|
||||||
ynh_psql_setup_db --db_user=$db_user --db_name=$db_name --db_pwd=$db_pwd
|
ynh_psql_setup_db --db_user=$db_user --db_name=$db_name --db_pwd=$db_pwd
|
||||||
|
ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
|
@ -95,6 +95,7 @@ ynh_print_info --message="Restoring the PostgreSQL database..."
|
|||||||
|
|
||||||
ynh_psql_test_if_first_run
|
ynh_psql_test_if_first_run
|
||||||
ynh_psql_setup_db --db_user=$db_user --db_name=$db_name --db_pwd=$db_pwd
|
ynh_psql_setup_db --db_user=$db_user --db_name=$db_name --db_pwd=$db_pwd
|
||||||
|
ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name
|
||||||
ynh_psql_execute_file_as_root --file="./db.sql" --database="$db_name"
|
ynh_psql_execute_file_as_root --file="./db.sql" --database="$db_name"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -79,6 +79,10 @@ ynh_secure_remove --file="/var/log/$app/"
|
|||||||
# Create PostgreSQL User
|
# Create PostgreSQL User
|
||||||
ynh_psql_create_user $db_name $db_pwd
|
ynh_psql_create_user $db_name $db_pwd
|
||||||
|
|
||||||
|
# Install pg_trgm extension to provide a PostgreSQL search solution
|
||||||
|
ynh_psql_test_if_first_run
|
||||||
|
ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||||
#=================================================
|
#=================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user