Commit 84b01aba authored by Egor Kremnev's avatar Egor Kremnev

edit deploy scripts

parent 373757a2
......@@ -90,19 +90,16 @@ cat ${APPLICATION_ROOT_PATH}/.env > ${PROJECT_ROOT}/.env
info "# Set application key"
php artisan key:generate
info "# Optimizing Configuration Loading..."
php artisan optimize
php artisan config:cache
info "# Optimizing Route Loading"
php artisan route:cache
info "# Optimizing View Loading"
php artisan view:cache
docker-compose build
docker-compose up -d
info "# Optimizing Configuration Loading..."
docker exec app php artisan optimize
docker exec app php artisan config:cache
info "# Optimizing Route Loading"
docker exec app php artisan route:cache
info "# Optimizing View Loading"
docker exec app php artisan view:cache
docker exec app php artisan migrate
cd ${APPLICATION_ROOT_PATH}
......
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