Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
aphp1_classwork80
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Egor Kremnev
aphp1_classwork80
Commits
84b01aba
Commit
84b01aba
authored
Sep 05, 2023
by
Egor Kremnev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit deploy scripts
parent
373757a2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
apply-update.sh
scripts/apply-update.sh
+7
-10
No files found.
scripts/apply-update.sh
View file @
84b01aba
...
@@ -90,19 +90,16 @@ cat ${APPLICATION_ROOT_PATH}/.env > ${PROJECT_ROOT}/.env
...
@@ -90,19 +90,16 @@ cat ${APPLICATION_ROOT_PATH}/.env > ${PROJECT_ROOT}/.env
info
"# Set application key"
info
"# Set application key"
php artisan key:generate
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 build
docker-compose up
-d
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
docker
exec
app php artisan migrate
cd
${
APPLICATION_ROOT_PATH
}
cd
${
APPLICATION_ROOT_PATH
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment