1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/prestashop_ynh.git synced 2024-09-03 20:06:39 +02:00

On test l'install sans utilisateur

This commit is contained in:
magikcypress 2017-03-04 02:08:37 +01:00
parent 4ab71fa323
commit 737779ae6d
2 changed files with 8 additions and 7 deletions

View file

@ -7,10 +7,10 @@ location __PATHTOCHANGE__ {
alias __FINALPATH__/; alias __FINALPATH__/;
index index.php; index index.php;
if (!-e $request_filename) # if (!-e $request_filename)
{ # {
rewrite ^(.+)$ __PATHTOCHANGE__/index.php?q=$1 last; # rewrite ^(.+)$ __PATHTOCHANGE__/index.php?q=$1 last;
} # }
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }

View file

@ -113,10 +113,11 @@ sudo php index_cli.php install \
--db_name=$db_name \ --db_name=$db_name \
--db_driver=amysqli \ --db_driver=amysqli \
--db_port=3306 \ --db_port=3306 \
--lastname=$admin_prestashop \ # --lastname=$admin_prestashop \
--password=$pass \ # --password=$pass \
--email=$email \ # --email=$email \
--domain=$domain$path \ --domain=$domain$path \
# --base_uri=$path \
--prefix=_ps_ --prefix=_ps_
popd popd