mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-04-05 00:54:17 -04:00
This commit refactors all the shell scripts to use `#!/usr/bin/env bash` instead of `#!/bin/bash`. This change ensures that the scripts will run with the system's default Bash interpreter, even if it is not located at the standard `/bin/bash` path.
29 lines
804 B
Bash
29 lines
804 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Define a message for branding purposes
|
|
MESSAGE="Made by BigBearTechWorld"
|
|
|
|
# Function to print a decorative line
|
|
print_decorative_line() {
|
|
# Prints a line of dashes to the console
|
|
printf "%s\n" "------------------------------------------------------"
|
|
}
|
|
|
|
# Print the introduction message with decorations
|
|
echo
|
|
print_decorative_line
|
|
echo "Setup Invoice Ninja for CasaOS Step 2"
|
|
print_decorative_line
|
|
echo
|
|
echo "$MESSAGE"
|
|
echo
|
|
print_decorative_line
|
|
echo
|
|
echo "If this is useful, please consider supporting my work at: https://ko-fi.com/bigbeartechworld"
|
|
echo
|
|
print_decorative_line
|
|
|
|
docker exec -it big-bear-invoice-ninja php artisan migrate:fresh --seed && php artisan db:seed && php artisan ninja:create-test-data
|
|
|
|
docker exec -it big-bear-invoice-ninja cp .env.example .env
|