mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
commit
7e7c791dc7
7 changed files with 18 additions and 7 deletions
|
@ -9,7 +9,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
|
|||
## Overview
|
||||
The federated image sharing service Pixelfed, for YunoHost
|
||||
|
||||
**Shipped version:** 0.9.0
|
||||
**Shipped version:** 0.9.4
|
||||
|
||||
## Important points to read before installing
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
setup_private=1
|
||||
setup_public=1
|
||||
upgrade=1
|
||||
upgrade=1 from_commit=e53882baaed30f38293a4ec9d1395c6833759169
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
incorrect_path=1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/pixelfed/pixelfed/archive/v0.9.0.tar.gz
|
||||
SOURCE_SUM=ea69f3441991c9122638b1476ba11ec1b7847fac569fa77a8ed7b03481b19d88
|
||||
SOURCE_URL=https://github.com/pixelfed/pixelfed/archive/v0.9.4.tar.gz
|
||||
SOURCE_SUM=abb6bdf44035dcaa71cb2b5b85a76cb8f4ebca4cc390df5d66454046b8412766
|
||||
OURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
|
@ -12,7 +12,7 @@ location __PATH__/ {
|
|||
index index.php;
|
||||
|
||||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
||||
#client_max_body_size 50M;
|
||||
client_max_body_size 20M;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"description": {
|
||||
"en": "ActivityPub Federated Image Sharing"
|
||||
},
|
||||
"version": "0.9.0~ynh4",
|
||||
"version": "0.9.4~ynh1",
|
||||
"url": "https://pixelfed.org/",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"maintainer": [
|
||||
|
|
|
@ -120,6 +120,11 @@ chown -R "$app": "$final_path"
|
|||
|
||||
ynh_install_composer --phpversion="7.2" --workdir="$final_path"
|
||||
|
||||
# Fix Google Recaptcha removal
|
||||
ynh_secure_remove --file="$final_path/bootstrap/cache"
|
||||
mkdir -p "$final_path/bootstrap/cache"
|
||||
ynh_composer_exec --phpversion="7.2" --workdir="$final_path" --commands="dump-autoload"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC SETUP
|
||||
#=================================================
|
||||
|
|
|
@ -145,12 +145,17 @@ ynh_add_fpm_config --phpversion="7.2"
|
|||
#=================================================
|
||||
# SPECIFIC UPGRADE
|
||||
#=================================================
|
||||
# INSTALL PHP DEPENDENCIES
|
||||
# UPDATE PHP DEPENDENCIES
|
||||
#=================================================
|
||||
|
||||
chown -R "$app": "$final_path"
|
||||
|
||||
ynh_install_composer --phpversion="7.2" --workdir="$final_path"
|
||||
# Fix Google Recaptcha removal
|
||||
ynh_secure_remove --file="$final_path/bootstrap/cache"
|
||||
mkdir -p "$final_path/bootstrap/cache"
|
||||
ynh_composer_exec --phpversion="7.2" --workdir="$final_path" --commands="dump-autoload"
|
||||
|
||||
ynh_composer_exec --phpversion="7.2" --workdir="$final_path" --commands="update"
|
||||
|
||||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
|
|
Loading…
Add table
Reference in a new issue