a year ago
Hello i deploy my laravel project in railway but i cant show frontend i dot know why
20 Replies
a year ago
wdym? can you explain more about your issue?
a year ago
you would never want to run anything development related on railway
a year ago
what's your current build command, to find this look at the build table at the top of your build logs?
a year ago
please read my message and let me know the answer to the question
a year ago
^
a year ago
I'm not talking about locally
can you be a little more clear because i cant understand you its my first time i use railway
a year ago
open your build logs
scroll to the top
tell me the build command
[Region: us-west1]
==============
Using Nixpacks
==============
context: 6664cfa2534aecdee02494ee59ce0893
╔══════════════════════════════ Nixpacks v1.24.0 ══════════════════════════════╗
║ setup │ (php81.withExtensions (pe: pe.enabled ++ [])), nginx, ║
║ │ libmysqlclient, php81Packages.composer, nodejs18, npm-9x ║
║──────────────────────────────────────────────────────────────────────────────║
║ install │ mkdir -p /var/log/nginx && mkdir -p /var/cache/nginx ║
║ │ composer install --ignore-platform-reqs ║
║ │ npm ci ║
║──────────────────────────────────────────────────────────────────────────────║
║ build │ npm run build ║
║──────────────────────────────────────────────────────────────────────────────║
║ start │ node /assets/scripts/prestart.mjs /assets/nginx.template.conf ║
║ │ /nginx.conf && (php-fpm -y /assets/php-fpm.conf & nginx -c ║
║ │ /nginx.conf) ║
╚══════════════════════════════════════════════════════════════════════════════╝
maybe you say for this ?
a year ago
are you setting your build command in the service settings