mirror of
https://github.com/YunoHost-Apps/bookwyrm_ynh.git
synced 2024-09-03 18:16:12 +02:00
This commit is contained in:
parent
12eb756649
commit
743556ac88
4 changed files with 15 additions and 17 deletions
|
@ -1,5 +0,0 @@
|
||||||
SOURCE_URL=https://github.com/bookwyrm-social/bookwyrm/archive/refs/tags/v0.5.4.tar.gz
|
|
||||||
SOURCE_SUM=2dafdcf26de6c041611d16ed48b751cf8d4dfbee1f5cf4aa5975592bc080261d
|
|
||||||
SOURCE_SUM_PRG=sha256sum
|
|
||||||
SOURCE_FORMAT=tar.gz
|
|
||||||
SOURCE_IN_SUBDIR=true
|
|
|
@ -9,7 +9,7 @@ User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
EnvironmentFile=__INSTALL_DIR__/.env
|
EnvironmentFile=__INSTALL_DIR__/.env
|
||||||
ExecStart=__INSTALL_DIR__/venv/bin/celery -A celerywyrm worker -l info -Q high_priority,medium_priority,low_priority
|
ExecStart=__INSTALL_DIR__/venv/bin/celery -A celerywyrm worker -l info -Q high_priority,medium_priority,low_priority,imports
|
||||||
|
|
||||||
NoNewPrivileges=yes
|
NoNewPrivileges=yes
|
||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
|
|
|
@ -14,21 +14,20 @@ license = "AGPL-3.0-or-later"
|
||||||
website = "https://joinbookwyrm.com/fr/"
|
website = "https://joinbookwyrm.com/fr/"
|
||||||
demo = "https://joinbookwyrm.com/fr/"
|
demo = "https://joinbookwyrm.com/fr/"
|
||||||
admindoc = "https://docs.joinbookwyrm.com/"
|
admindoc = "https://docs.joinbookwyrm.com/"
|
||||||
code = "https://github.com/bookwyrm-social/bookwyrm"
|
code = "https://github.com/bookwyrm-social/bookwyrm"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.0.9"
|
yunohost = ">= 11.1.14"
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = false
|
multi_instance = false
|
||||||
ldap = "not_relevant"
|
ldap = "not_relevant"
|
||||||
sso = "not_relevant"
|
sso = "not_relevant"
|
||||||
disk = "50M"
|
disk = "50M"
|
||||||
ram.build = "50M"
|
ram.build = "50M"
|
||||||
ram.runtime = "50M"
|
ram.runtime = "50M"
|
||||||
|
|
||||||
[install]
|
[install]
|
||||||
[install.domain]
|
[install.domain]
|
||||||
# this is a generic question - ask strings are automatically handled by Yunohost's core
|
|
||||||
type = "domain"
|
type = "domain"
|
||||||
full_domain = true
|
full_domain = true
|
||||||
|
|
||||||
|
@ -44,10 +43,15 @@ ram.runtime = "50M"
|
||||||
default = "fr-fr"
|
default = "fr-fr"
|
||||||
|
|
||||||
[install.admin]
|
[install.admin]
|
||||||
# this is a generic question - ask strings are automatically handled by Yunohost's core
|
|
||||||
type = "user"
|
type = "user"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
|
[resources.sources]
|
||||||
|
|
||||||
|
[resources.sources.main]
|
||||||
|
url = "https://github.com/bookwyrm-social/bookwyrm/archive/refs/tags/v0.5.4.tar.gz"
|
||||||
|
sha256 = "=2dafdcf26de6c041611d16ed48b751cf8d4dfbee1f5cf4aa5975592bc080261d"
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
||||||
[resources.install_dir]
|
[resources.install_dir]
|
||||||
|
|
|
@ -50,7 +50,6 @@ $install_dir/venv/bin/python3 "$install_dir/manage.py" initdb
|
||||||
$install_dir/venv/bin/python3 "$install_dir/manage.py" compile_themes
|
$install_dir/venv/bin/python3 "$install_dir/manage.py" compile_themes
|
||||||
$install_dir/venv/bin/python3 "$install_dir/manage.py" collectstatic --no-input
|
$install_dir/venv/bin/python3 "$install_dir/manage.py" collectstatic --no-input
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue