This commit is contained in:
liberodark 2019-01-02 19:30:56 +01:00
parent 1a28f30769
commit e2e0953a19

View file

@ -154,6 +154,7 @@ cd $final_path && chmod -R 755 storage/* bootstrap/cache/
cd $final_path && /usr/bin/php7.2 artisan key:generate --force
cd $final_path && /usr/bin/php7.2 artisan p:environment:setup --author=$email --url=https://$domain --timezone=America/New_York --cache=redis --session=database --queue=redis --disable-settings-ui --redis-host=127.0.0.1 --redis-pass= --redis-port=6379
cd $final_path && /usr/bin/php7.2 artisan p:environment:database --host=127.0.0.1 --port=3306 --database=$db_name --username=$db_name --password=$db_pwd
cd $final_path && /usr/bin/php7.2 artisan --help
cd $final_path && /usr/bin/php7.2 artisan p:user:make --username=liberodark --password=Linux666. --email=$email --admin=1
cd $final_path && /usr/bin/php7.2 artisan migrate --seed
cd $final_path && chown -R www-data:www-data *