#Django postgresql github help please

14 messages · Page 1 of 1 (latest)

honest river
#

Hello good people of Railway, my name is Tomislav. I have just signed up for the Hobby account. I am creating a django app and need help learning about deployment with postgress and github. Can anybody help please? This is all very new to me.
Thank you!

slow lotusBOT
#

Project ID: N/A

native yachtBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

honest river
#

N/A
I dont have a project as of yet, i mean it is not on the account currently.

waxen pivot
#

If you create a project and deploy your Github repo, Railway should be able to auto detect your setup and deploy no problem

#

as for the posgres db, you can add a template to your project from plus button on the project page. Configure your django service so that it looks for the environment variables of the other service

honest river
#

Thank you, that is what i need help with 🙂
I need to learn about that process. I am trying to find content on that matter but nowhere can i find it, in details what needs to be done from start to finish.

toxic falcon
#

do you have a django app in a github repo?

honest river
#

Hi, yes i do. But i am finishing up the works before the version 1 can go live, i am basically done maybe two more days of work.
Also a problem for me after the deployment, is how do i make changes to database. Let's say we go live. Then i want to add a feature, maybe a new model with its crud process. How do i go about it and not destroy the content and the live database version.

Locally i know to do that, but this push pull postrgres process i have to learn.

toxic falcon
#

postgres is a separate service

honest river
#

Hi, thank you. I don't understand what that code does and where it goes. First i have to deploy one test app with postgress, then i have to see about those changes. It is a bit shame that railway doenst have a doc about django deployment, because i need a detailed info from where i can learn the process

waxen pivot
#

Railway is pretty intuitive. We’re here to answer any questions that you may have, but give it a shot for yourself first