-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f97884f
commit 3d99308
Showing
4 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
/usr/bin/php /var/www/html/artisan config:cache --no-ansi -q | ||
/usr/bin/php /var/www/html/artisan route:cache --no-ansi -q | ||
/usr/bin/php /var/www/html/artisan view:cache --no-ansi -q | ||
echo "Running config:cache..."; | ||
php /var/www/html/artisan config:cache --no-ansi -q | ||
echo "Successfully cached the configuration"; | ||
|
||
echo "Running route:cache..."; | ||
php /var/www/html/artisan route:cache --no-ansi -q | ||
echo "Successfully cached the routes"; | ||
|
||
echo "Running view:cache..."; | ||
php /var/www/html/artisan view:cache --no-ansi -q | ||
echo "Successfully cached the views"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
/usr/bin/php /var/www/html/artisan migrate --force | ||
echo "Running migration..."; | ||
php /var/www/html/artisan migrate --no-ansi -q --force | ||
echo "Successfully migrated"; |