This commit is contained in:
liberodark 2019-01-02 16:14:23 +01:00
parent 6f8c812f93
commit e98e7b01c9

View file

@ -172,7 +172,7 @@ cp -a ../conf/pteroq.service /etc/systemd/system/pteroq.service
cd $final_path
chmod -R 755 storage/* bootstrap/cache/
sudo -u "$app" "composer install --no-dev --optimize-autoloader"
sudo -u "$app" -s "composer install --no-dev --optimize-autoloader"
sudo -u "$app" "php artisan key:generate --force"
sudo -u "$app" "php artisan p:environment:setup --author=admin@yuno.fr --url=https://$domain$path_url --timezone=America/New_York --cache=redis --session=database --queue=redis --disable-settings-ui --redis-host=127.0.0.1 --redis-pass= --redis-port=6379"
sudo -u "$app" "php artisan p:environment:database --host=127.0.0.1 --port=3306 --database=$db_name --username=$db_user --password=$db_pass"