From 754aebfaecd9c380523054a07c0dcf4e516cf7fc Mon Sep 17 00:00:00 2001 From: Adamalfantino <158027358+Adamalfantino@users.noreply.github.com> Date: Fri, 22 May 2026 22:07:22 +0700 Subject: [PATCH] fix: use Procfile for Railway deployment --- Procfile | 1 + nixpacks.toml | 15 --------------- 2 files changed, 1 insertion(+), 15 deletions(-) create mode 100644 Procfile delete mode 100644 nixpacks.toml diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..524976e --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: php artisan migrate --force && php artisan db:seed --force && php artisan serve --host=0.0.0.0 --port=$PORT diff --git a/nixpacks.toml b/nixpacks.toml deleted file mode 100644 index c18d742..0000000 --- a/nixpacks.toml +++ /dev/null @@ -1,15 +0,0 @@ -[phases.setup] -nixPkgs = ["php82", "php82Extensions.pdo", "php82Extensions.pdo_mysql", "php82Extensions.mbstring", "php82Extensions.xml", "php82Extensions.curl", "php82Extensions.zip", "php82Extensions.gd", "php82Extensions.tokenizer", "php82Extensions.bcmath", "php82Packages.composer"] - -[phases.install] -cmds = ["composer install --no-dev --optimize-autoloader"] - -[phases.build] -cmds = [ - "php artisan config:cache", - "php artisan route:cache", - "php artisan view:cache" -] - -[start] -cmd = "php artisan migrate --force && php artisan db:seed --force && php -S 0.0.0.0:$PORT -t public"