a year ago
I am facing the same issue Deployment Failed - Error: No start command could be found Procfile
web: gunicorn store.wsgi --log-file
web: gunicorn cart.wsgi --log-file
web: gunicorn payment.wsgi --log-file
web: python manage.py migrate && gunicorn store.wsg
web: python manage.py migrate && gunicorn cart.wsg
web: python manage.py migrate && gunicorn payment.wsgrequirements.txt
asgiref==3.8.1
Brotli==1.1.0
cffi==1.16.0
cssselect2==0.7.0
Django==5.0.4
fonttools==4.53.0
gunicorn==22.0.0
html5lib==1.1
packaging==24.1
pillow==10.3.0
psycopg2==2.9.9
pycparser==2.22
pydyf==0.10.0
pyphen==0.15.0
python-dotenv==1.0.1
six==1.16.0
sqlparse==0.5.0
tinycss2==1.3.0
typing_extensions==4.12.2
tzdata==2024.1
webencodings==0.5.1
whitenoise==6.6.0
zopfli==0.2.3
runtime.txt python 3.12.3 I've done everything correctly so I don't know what more to do guys. Can you help ?
3 Replies
a year ago
You have 6 apps you want to run, this means you need 6 Railway services in your Railway project.
The Procfile itself will not be used.
Deploy 6 duplicate services into your Railway project, they will all have the same service variables and deploy from the same GitHub Repo.
Then on each service go into the service settings and set your single desired start command.
Status changed to Solved Railway • over 1 year ago
a year ago
Thank you for your time. Railway is not working for me. Back to AWS.
a year ago
From my explanation what was left unclear?
Your apps can definitely run on Railway you just need to follow the instructions I have provided.