Commit 65faa5e5 authored by Egor Kremnev's avatar Egor Kremnev

fix scripts

parent c826f95b
......@@ -89,8 +89,9 @@ sed -i -e 's/^\(DB_PASSWORD=\).*/\1'$([ -n "$DB_PASSWORD_ENV" ] && echo "$DB_PAS
cat ${APPLICATION_ROOT_PATH}/.env > ${PROJECT_ROOT}/.env
info "# Create database backup [${DB_DATABASE}] > ${DB_DUMP_PATH}"
mysqldump -u ${DB_DATABASE} > ${DB_DUMP_PATH}
# info "# Create database backup [${DB_DATABASE}] > ${DB_DUMP_PATH}"
# Здесь требуется настройка доступа к базе данных да пользователя от имени кого будет выполнятся бекап
# mysqldump -u root ${DB_DATABASE} > ${DB_DUMP_PATH}
info "# Set application key"
php artisan key:generate
......@@ -119,3 +120,5 @@ info "# Destroy script"
rm apply-update.sh
success "Update successfully!"
CREATE USER 'demo'@'localhost' IDENTIFIED BY 'root123';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment