From 932ebf4c276496981bc839b734a1121a18bdc64d Mon Sep 17 00:00:00 2001 From: Javier Feliz Date: Tue, 15 Jul 2025 22:50:35 -0400 Subject: [PATCH] Fix skill issues --- Makefile | 5 +++++ docker/entrypoint.sh | 3 ++- routes/auth.php | 6 +++--- routes/web.php | 3 ++- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 8548dba..040af21 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ IMAGE_NAME = flowtodo CONTAINER_NAME = flowtodo-web PORT = 8889 +VERSION = "latest" .PHONY: build run rebuild @@ -16,3 +17,7 @@ run: # Rebuild (force rebuild without cache) rebuild: docker build --no-cache -t $(IMAGE_NAME) . + +docker-publish: + docker image tag flowtodo:latest gitgud.foo/thegrind/flowtodo:$(VERSION) + docker push gitgud.foo/thegrind/flowtodo:$(VERSION) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index aefa110..aa292f6 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -14,4 +14,5 @@ php /app/artisan config:clear php /app/artisan config:cache php /app/artisan view:cache -exec php /app/artisan octane:frankenphp +# exec php /app/artisan octane:frankenphp +php /app/artisan octane:start --server=frankenphp --host=0.0.0.0 --admin-port=2019 --port=8000 diff --git a/routes/auth.php b/routes/auth.php index 304632b..5b60803 100644 --- a/routes/auth.php +++ b/routes/auth.php @@ -11,9 +11,9 @@ use Illuminate\Support\Facades\Route; Route::middleware('guest')->group(function () { Route::get('login', Login::class)->name('login'); - if (config('app.enable_registration')) { - Route::get('register', Register::class)->name('register'); - } + Route::get('register', Register::class)->name('register'); + // if (config('app.enable_registration')) { + // } Route::get('forgot-password', ForgotPassword::class)->name('password.request'); Route::get('reset-password/{token}', ResetPassword::class)->name('password.reset'); }); diff --git a/routes/web.php b/routes/web.php index 31a9b20..99df55a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,5 +1,6 @@ group(function () { 'list' => Auth::user()->taskLists()->with('tasks')->orderBy('is_home', 'desc')->first() ]); })->name('dashboard'); - Route::get('{slug}', function (string $slug) { + Route::get('list/{slug}', function (string $slug) { $list = Auth::user() ->taskLists() ->with('tasks')