mirror of
https://github.com/YunoHost-Apps/galette_ynh.git
synced 2024-09-03 18:36:28 +02:00
Fix
This commit is contained in:
parent
a3ae729e8a
commit
1349f962f4
2 changed files with 8 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/webroot;
|
alias __FINALPATH__/galette/webroot;
|
||||||
|
|
||||||
if ($scheme = http) {
|
if ($scheme = http) {
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
|
|
|
@ -80,8 +80,8 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$final_path"
|
ynh_setup_source --dest_dir="$final_path"
|
||||||
|
|
||||||
mv $final_path/galette/* $final_path/
|
# mv $final_path/galette/* $final_path/
|
||||||
ynh_secure_remove $final_path/tests
|
# ynh_secure_remove $final_path/tests
|
||||||
|
|
||||||
chmod 750 $final_path
|
chmod 750 $final_path
|
||||||
chmod -R o-rwx $final_path
|
chmod -R o-rwx $final_path
|
||||||
|
@ -111,12 +111,12 @@ ynh_script_progression --message="Configuring Galette..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template="../conf/config.inc.php.dist" --destination="$final_path/config/config.inc.php"
|
ynh_add_config --template="../conf/config.inc.php.dist" --destination="$final_path/config/config.inc.php"
|
||||||
|
|
||||||
#=================================================
|
# #=================================================
|
||||||
# Install PHP dependencies using composer
|
# # Install PHP dependencies using composer
|
||||||
#=================================================
|
# #=================================================
|
||||||
ynh_script_progression --message="Configuring Composer..." --weight=1
|
# ynh_script_progression --message="Configuring Composer..." --weight=1
|
||||||
|
|
||||||
ynh_install_composer
|
# ynh_install_composer
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue