Django website, no errors not deploying
Solution:Jump to solution
Hey @Brody , site is up and running. A lot of issues were present, gunicorn solved the major one.
68 Replies
Project ID:
d58cc218-0ee6-41d9-b312-617ba2a850da
the cropped screenshot isnt doing you any good, please re-send without a crop
d58cc218-0ee6-41d9-b312-617ba2a850da
^
Here @Brody the complete logs
just to be clear, that's a dev server you're running there, right?
yes
welp, not gonna fly
you need to build that site for production
bruhh, atleast show me something on the frontend. even an error would do
madhdsua, its django, theres no "building" involved
damn
im out then
sorry for the confusion lmao
this isnt an issue with railway, its an issue with how you have configured your project.
please share your repo so we can advise further
no problem man, thanks for trying
you want to get on a call? if it is fine for you?
no i dont think this requires a call, please share your repo
GitHub
GitHub - parpsyche/vintage_sales
Contribute to parpsyche/vintage_sales development by creating an account on GitHub.
send your deploy logs please https://bookmarklets.up.railway.app/log-downloader/
do you have a start command in the service settings set?
if so, remove it
okay testing with it
what? did you have one?
yes python manage.py runserver 0.0.0.0:8000
remove it
now no deploy logs only this
whats the state of the deployment say?
https://vintagesales.up.railway.app/ as in the url?
successful no failure
im asking for the deployment state as seen in railway, not from your url
Success
green doesnt always mean success, there are other green states, like "COMPLETED"
please send the deployment logs
Completed with empty deployment logs
what is your build command set to
empty, default picks the dockerfile
from your
Procfile
your start command is gunicorn vintage_sales_scraping.wsgi
but you dont have a wsgi component in the /vintage_sales_scraping
foldercreating at testing
what would be the correct start command to start your app via gunicorn?
python manage.py runserver
no that starts a development server
via gunicorn
is this a django site, or a celery worker, or both?
not sure, figuring that out
just a django site, would need a celery thing too
where is the
wsgi.py
file in this repo?
or even the settings.py
filenot present, created one rn
config.settings
pushed wsgi
gunicorn vintage_sales_scraping.wsgi would be the command
I am sleeping rn, literally mind fucked. Will approach this maybe tomorrow. Thanks for your help though, let me know if you find anything
okay let me know when you are back working on this
heyooo, I am back. Update, I tried deploying another app but it still didn't load up. Same thing, no errors doesn't launch
send the link to the site please?
"Nothing here... yet"
exactly, can't see anything. Need help with this
how long ago did you generate that domain?
probably an hour
If you need, I can join on a call to explain the issue.
show me the domain as displayed in the service settings please (screenshot)
thats not the same domain you sent above?
ohh wait, Idk what did I copy sorry about that
https://temp-production-0575.up.railway.app/
deploy logs please
here @Brody
my bad
you are still trying to start a development server, you need to use gunicorn to start your django app
Do I need to enter a custom start command?
you would need to use gunicorn in your start command
okay trying. Will get back to you
Solution
Hey @Brody , site is up and running. A lot of issues were present, gunicorn solved the major one.
Thanks alot man.
awesome, glad I could be of some help!
Also I wanted to know, how can I contribute to this community?
I don't have much free time but would love to contribute whenever possible
answer some help threads! if you can get to them before me! 🤣
lol sure
Thanks again man ❤️
no problem!!