-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from lageIBUSP/relatorios
Otimizações e testes
- Loading branch information
Showing
5 changed files
with
53 additions
and
38 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
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,11 +1,18 @@ | ||
#!/bin/sh | ||
|
||
# Installs and upgrades any new PHP libraries | ||
composer install | ||
if [ "$APP_ENV" == "production" ]; then | ||
composer install --no-dev -o | ||
else | ||
composer install | ||
fi | ||
# Makes sure our storage link is set up | ||
php artisan storage:link | ||
# Clear application and config caches | ||
php artisan config:clear | ||
php artisan cache:clear | ||
# Runs any DB migration | ||
php artisan migrate --force | ||
# Clear and restart caches | ||
php artisan cache:clear | ||
php artisan config:cache | ||
php artisan view:cache | ||
php artisan route:cache | ||
php artisan event:cache |
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