zbellay
zbellay
RRailway
Created by zbellay on 1/21/2024 in #✋|help
Can't Override Custom Start Command
I see, so it sounds like I'd need to move from a railway.json to Dockerfiles I'm gunna give this template a shot: https://github.com/Antvirf/railway_django_stack I don't fully understand why the railway.json can't just allow for configurable start commands, but that's ok Thank you for your help Adam
17 replies
RRailway
Created by zbellay on 1/21/2024 in #✋|help
Can't Override Custom Start Command
But still, in these Railway docs it says you can deploy from a monorepo using start command overrides: https://docs.railway.app/guides/monorepo#deploying-a-shared-monorepo I don't see why my case would be any different, but I am prevented from doing so
17 replies
RRailway
Created by zbellay on 1/21/2024 in #✋|help
Can't Override Custom Start Command
So I just found this repo, which uses django + celery on railway, it doesn't use the railway.json, so maybe I need to change how I'm deploying https://github.com/Antvirf/railway_django_stack
17 replies
RRailway
Created by zbellay on 1/21/2024 in #✋|help
Can't Override Custom Start Command
Yes, they are in the same repo. My web service is just my django server, which just serves HTML. My worker service runs various tasks. This is a common pattern in django. E.g. on Heroku w/ Procfiles you might have:
web: gunicorn mysite.conf
worker: celery -A mysite -l INFO
web: gunicorn mysite.conf
worker: celery -A mysite -l INFO
17 replies
RRailway
Created by zbellay on 12/14/2023 in #✋|help
Django Project is Built as Node.js Project
Yup! There are some things I have to debug now but the build works ok. Thanks again!!
22 replies
RRailway
Created by zbellay on 12/14/2023 in #✋|help
Django Project is Built as Node.js Project
For whatever reason it seems like that fixed it, thank you @Brody !
22 replies
RRailway
Created by zbellay on 12/14/2023 in #✋|help
Django Project is Built as Node.js Project
No description
22 replies
RRailway
Created by zbellay on 12/14/2023 in #✋|help
Django Project is Built as Node.js Project
Thank you @Brody, I appreciate it!
22 replies
RRailway
Created by zbellay on 12/14/2023 in #✋|help
Django Project is Built as Node.js Project
I see, yeah in my case I'm not using django rest framework so I don't have a JSON API or anything. All I'm trying to do is serve these static assets, I am partial to my current approach. With that said, how can I get the build to recognize my project as a python project instead of a node project?
22 replies
RRailway
Created by zbellay on 12/14/2023 in #✋|help
Django Project is Built as Node.js Project
What approach would you suggest?
22 replies
RRailway
Created by zbellay on 12/14/2023 in #✋|help
Django Project is Built as Node.js Project
Right, the frontend should get built and then served as a static asset by django
22 replies
RRailway
Created by zbellay on 11/28/2023 in #✋|help
Auto deploy broken after changing default branch from main to master
Can confirm, just pushed another commit and it works now!
5 replies
RRailway
Created by zbellay on 11/21/2023 in #✋|help
Django 1-Click Template Not Deploying?
Thank you guys for the help! Excited to build on Railway!
42 replies
RRailway
Created by zbellay on 11/21/2023 in #✋|help
Django 1-Click Template Not Deploying?
Something to do with the dash?
42 replies
RRailway
Created by zbellay on 11/21/2023 in #✋|help
Django 1-Click Template Not Deploying?
I tried the deploy again and named the Github repo "railwaydjango" and the deploy worked!
42 replies
RRailway
Created by zbellay on 11/21/2023 in #✋|help
Django 1-Click Template Not Deploying?
Is there some setting I am missing or something? I already have an instance of umami analytics running, so I'm not really sure what's going on...
42 replies
RRailway
Created by zbellay on 11/21/2023 in #✋|help
Django 1-Click Template Not Deploying?
No description
42 replies
RRailway
Created by zbellay on 11/21/2023 in #✋|help
Django 1-Click Template Not Deploying?
I am clicking the "Deploy on Railway" button on the django template in the railway-templates repo: https://github.com/railwayapp-templates/django I've gone ahead and attached a screen recording
42 replies
RRailway
Created by zbellay on 11/21/2023 in #✋|help
Django 1-Click Template Not Deploying?
Here's the project ID of another attempt, I deleted the third: da05903c-68af-46f6-ac08-a76c76e911b8
42 replies
RRailway
Created by zbellay on 11/21/2023 in #✋|help
Django 1-Click Template Not Deploying?
I've tried 3 times so far and it's ended up in the same state :/
42 replies