Nixpack build error
This is what I've been encountering building my Django app on railway for the past 72 hours. Please I need help
Solution:Jump to solution
If you're looking to implement google login with your app, you'll need to use a custom domain.
34 Replies
Project ID:
N/A
Is this the same as service ID
build logs please https://bookmarklets.up.railway.app/log-downloader/
It's on the screenshot
not really, please use the bookmarklet
this is it
it is a django app\
can you share your repo
It's deployed now, but the link to access the app says "application failed to respond."
See image attached.
what did you use for the start command?
Python manage.py
what folder contains the wsgi.py file?
The main project named giiv_app
thats the folder within your project that contains the wsgi.py file?
Yes
then your start command should be
gunicorn giiv_app.wsgi
So I should replace all start command with this
Without manage.py
wdym all?
I should remove manage.py
your new start command should be just
gunicorn giiv_app.wsgi
Thanks
This is the error now, while in production the templates are working
where are your templates stored in the project?
Each project app has a separate template folder in it and a folder named the app name inside which the templates are located
Here's an example for an app named core. I have Core > templates > core > template files
then you may just be using paths wrong, please review your code
Ok
I am receiving this error trying to use the Google login feature
Thread has been flagged to Railway team by @Adam.
Where are you seeing this error?
^
Railway doesn’t have a google login feature. Are you trying to implement one with your app?
Yes
I've done all the settings in the app
Solution
If you're looking to implement google login with your app, you'll need to use a custom domain.
Railway's domain won't work, since you don't own it
You'll need a custom domain for this to work
Railway-provided domains do not work w/ Google auth