Files
big-bear-scripts-bigbeartec…/setup-invoice-ninja-for-casaos-step-2/run.sh
Christopher 222e6af258 🔧 refactor: Use #!/usr/bin/env bash in all shell scripts (#16)
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.
2024-10-23 13:32:15 -05:00

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