From 8bca2252da29e2fa3322025ccf06c7da18f97f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 31 Dec 2024 07:12:03 +0100 Subject: [PATCH] start redis -> up redis --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 30e3534..f385dd9 100755 --- a/test.sh +++ b/test.sh @@ -69,7 +69,7 @@ dispatch_tenant_job() { rm -f src/database.sqlite rm -f src/database/tenantfoo.sqlite -docker compose start redis # in case it's not running - the below setup code needs Redis to be running +docker compose up -d redis # in case it's not running - the below setup code needs Redis to be running docker compose run --rm queue php artisan migrate:fresh >/dev/null docker compose run --rm queue php artisan tinker -v --execute "App\\Models\\Tenant::create(['id' => 'foo', 'tenancy_db_name' => 'tenantfoo.sqlite']);"