15 Replies
Project ID:
323bc242-c061-4580-91bf-aa7e688f2fec
323bc242-c061-4580-91bf-aa7e688f2fec
what's your current start command
I dont use start command, i use release: python manage.py migrate
web: gunicorn disease_prediction.wsgi in Procfile instead
yeah same thing
make sure you have the proper entries in the allowed hosts setting
https://django.readthedocs.io/en/stable/topics/settings.html#django-settings
https://django.readthedocs.io/en/stable/ref/settings.html#std-setting-ALLOWED_HOSTS
omg i forgot this ALLOW_HOST, should i use my domain directly?
ALLOWED_HOSTS = ['0.0.0.0'] , that is my config, i remember the first time deployed, railway told me to change port to 0.0.0.0, right ?
you use whatever domain you will be accessing the django app from
that's not how it works, that has nothing to do with what railway told you to do, please read the two docs I have sent you
let me try again
what is your current allowed hosts
i still use 0.0.0.0
please read the documentation I have linked
should i change like this ALLOWED_HOSTS = ['0.0.0.0',
'https://capstoneproject-production-3b77.up.railway.app/'] ?
no, please read the documentation I have linked
it not work
please read the documentation I have linked