-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 FIX: splice in changes from https://github.com/apolopena/q-and-a-ch…
- Loading branch information
Showing
7 changed files
with
196 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,22 @@ | ||
# Begin: merged in from laravel8 starter project | ||
.starter.env | ||
/vendor/ | ||
/node_modules/ | ||
/public/phpmyadmin | ||
# END: merged in from laravel8 starter project | ||
/node_modules | ||
/public/hot | ||
/public/storage | ||
/storage/*.key | ||
/vendor | ||
.env | ||
.env.backup | ||
.phpunit.result.cache | ||
docker-compose.override.yml | ||
Homestead.json | ||
Homestead.yaml | ||
npm-debug.log | ||
yarn-error.log | ||
# Laravel Mix artifacts | ||
/public/js | ||
/public/css | ||
/public/build | ||
/public/mix-manifest.json |
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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/bash | ||
|
||
# Log to the console and a file | ||
log () { | ||
if [ -z "$2" ]; then | ||
bash bash/utils.sh log "$1" /var/log/workspace-init.log | ||
else | ||
bash bash/utils.sh log "$1" /var/log/workspace-init.log -e | ||
fi | ||
} | ||
|
||
# Log only to a file | ||
log_silent () { | ||
if [ -z "$2" ]; then | ||
bash bash/utils.sh log_silent "$1" /var/log/workspace-init.log | ||
else | ||
bash bash/utils.sh log_silent "$1" /var/log/workspace-init.log -e | ||
fi | ||
} | ||
|
||
# BEGIN example code block - migrate database | ||
# COMMENT: Load spinner | ||
# . bash/third-party/spinner.sh | ||
# __migrate_msg="Migrating database" | ||
# log_silent "$__migrate_msg" && start_spinner "$__migrate_msg" | ||
# php artisan migrate | ||
# err_code=$? | ||
# if [ $err_code != 0 ]; then | ||
# stop_spinner $err_code | ||
# log "ERROR: Failed to migrate database" -e | ||
# else | ||
# stop_spinner $err_code | ||
# log "SUCCESS: migrated database" | ||
# fi | ||
|
||
# BEGIN example code block - migrate database | ||
|
Oops, something went wrong.