Can only be installed on root

This commit is contained in:
yalh76 2020-10-31 14:47:05 +01:00
parent 96e82840fb
commit 1213a83fce
5 changed files with 7 additions and 15 deletions

View file

@ -11,6 +11,10 @@ A search engine for [PeerTube](https://joinpeertube.org/) videos and channels, d
**Shipped version:** 0.0.1-2020-10-31
## Important points to read before installing
1. **PeerTube search-index** require a dedicated **root domain**, eg. search.domain.tld
## Screenshots
![](sepia-search-screenshot.png)

View file

@ -6,9 +6,7 @@
;; Test complet
; Manifest
domain="domain.tld" (DOMAIN)
path="/path" (PATH)
is_public=1 (PUBLIC|public=1|private=0)
port="666" (PORT)
; Checks
pkg_linter=1
setup_sub_dir=1
@ -22,7 +20,7 @@
# This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version.
# incorrect_path=1
port_already_use=0
change_url=1
change_url=0
;;; Levels
# If the level 5 (Package linter) is forced to 1. Please add justifications here.
Level 5=auto

View file

@ -30,16 +30,6 @@
},
"example": "example.com"
},
{
"name": "path",
"type": "path",
"ask": {
"en": "Choose a path for PeerTube search-index",
"fr": "Choisissez un chemin pour PeerTube search-index"
},
"example": "/search",
"default": "/search"
},
{
"name": "is_public",
"type": "boolean",

View file

@ -17,7 +17,7 @@ old_domain=$YNH_APP_OLD_DOMAIN
old_path=$YNH_APP_OLD_PATH
new_domain=$YNH_APP_NEW_DOMAIN
new_path=$YNH_APP_NEW_PATH
new_path="/"
app=$YNH_APP_INSTANCE_NAME

View file

@ -25,7 +25,7 @@ ynh_abort_if_errors
#=================================================
domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
path_url="/"
is_public=$YNH_APP_ARG_IS_PUBLIC
app=$YNH_APP_INSTANCE_NAME