Update scripts/install
ynh_curl_local once more
This commit is contained in:
parent
f4a431c1da
commit
88eb519f3c
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ app_key=$(cat $install_dir/.env | grep -e ^APP_KEY | cut -c 9-)
|
|||
ynh_app_setting_set --key=app_key --value=$app_key
|
||||
|
||||
# group only, make it www-data vs user/group $app:www-data
|
||||
chgrp "www-data" -R "https://$domain/$path/register" "$install_dir/public"
|
||||
chgrp "www-data" -R "$install_dir/storage" "$install_dir/public"
|
||||
chmod -R 2775 "$install_dir/storage" "$install_dir/app" "$install_dir/public" "$install_dir/bootstrap/"
|
||||
|
||||
#=================================================
|
||||
|
@ -69,7 +69,7 @@ chmod -R 2775 "$install_dir/storage" "$install_dir/app" "$install_dir/public" "$
|
|||
ynh_script_progression "Finalizing installation..."
|
||||
|
||||
# Installation with curl: set up the first/single user
|
||||
ynh_local_curl "/index.php/register" "name=$user" "email=$email" "password=$password" "password_confirmation=$password"
|
||||
ynh_local_curl "https://$domain/$path/register" "name=$user" "email=$email" "password=$password" "password_confirmation=$password"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Add table
Reference in a new issue