fix
This commit is contained in:
parent
6e7ee0ca48
commit
838d6f1981
27
scripts/run
27
scripts/run
@ -19,52 +19,67 @@ function help {
|
|||||||
echo "Tasks:"
|
echo "Tasks:"
|
||||||
compgen -A function | cat -n
|
compgen -A function | cat -n
|
||||||
}
|
}
|
||||||
|
|
||||||
function sync-bunny {
|
function sync-bunny {
|
||||||
php artisan sync:bunny --env=secrets
|
php artisan sync:bunny --env=secrets
|
||||||
}
|
}
|
||||||
|
|
||||||
function queue {
|
function queue {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan queue:listen
|
bash vendor/bin/spin exec -u webuser coolify php artisan queue:listen
|
||||||
}
|
}
|
||||||
|
|
||||||
function horizon {
|
function horizon {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan horizon -vvv
|
bash vendor/bin/spin exec -u webuser coolify php artisan horizon -vvv
|
||||||
}
|
}
|
||||||
|
|
||||||
function schedule {
|
function schedule {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan schedule:work
|
bash vendor/bin/spin exec -u webuser coolify php artisan schedule:work
|
||||||
}
|
}
|
||||||
|
|
||||||
function schedule-run {
|
function schedule-run {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan schedule:run
|
bash vendor/bin/spin exec -u webuser coolify php artisan schedule:run
|
||||||
}
|
}
|
||||||
function reset-db {
|
|
||||||
|
function db-reset {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --seed
|
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --seed
|
||||||
}
|
}
|
||||||
|
|
||||||
function mfs {
|
function mfs {
|
||||||
reset-db
|
db-reset
|
||||||
}
|
}
|
||||||
function reset-db-production {
|
|
||||||
|
function db-reset-prod {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder ||
|
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder ||
|
||||||
php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
|
php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
|
||||||
}
|
}
|
||||||
|
|
||||||
function coolify {
|
function coolify {
|
||||||
bash vendor/bin/spin exec -u webuser coolify bash
|
bash vendor/bin/spin exec -u webuser coolify bash
|
||||||
}
|
}
|
||||||
|
|
||||||
function coolify-root {
|
function coolify-root {
|
||||||
bash vendor/bin/spin exec coolify bash
|
bash vendor/bin/spin exec coolify bash
|
||||||
}
|
}
|
||||||
|
|
||||||
function redis {
|
function redis {
|
||||||
docker exec -ti coolify-redis redis-cli
|
docker exec -ti coolify-redis redis-cli
|
||||||
}
|
}
|
||||||
|
|
||||||
function vite {
|
function vite {
|
||||||
bash vendor/bin/spin exec vite bash
|
bash vendor/bin/spin exec vite bash
|
||||||
}
|
}
|
||||||
function build-builder {
|
|
||||||
act -W .github/workflows/coolify-builder.yml --secret-file .env.secrets
|
|
||||||
}
|
|
||||||
function tinker {
|
function tinker {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan tinker
|
bash vendor/bin/spin exec -u webuser coolify php artisan tinker
|
||||||
}
|
}
|
||||||
|
|
||||||
function db {
|
function db {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan db
|
bash vendor/bin/spin exec -u webuser coolify php artisan db
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function build-builder {
|
||||||
|
act -W .github/workflows/coolify-builder.yml --secret-file .env.secrets
|
||||||
|
}
|
||||||
function default {
|
function default {
|
||||||
help
|
help
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user