a year ago
I set up my project in django using the default sqlite3 database (because it is a simple static website which accepts no user media at all, basically for a small startup business) then I downloaded the railway CLI and everything works fine but everytime I try to create a super user it only gets created on my local environment, on my production environment it does not recognise any of the credentials I use to sign in, could anynone please help me highlight the issue(please let me know which part of the source code you need to see as well because I do not know where to start), thank you
4 Replies
a year ago
Both railway run
and railway shell
run the commands locally only, but with the service variables available.
Railway doesn't provide ssh access to the deployments.
I would strongly recommend using postgres so you can connect to it locally and create the superuser.
a year ago
okay, thank you for that,do you have any link to a tutorial to get me started with postgres? If you don′t mind
a year ago
a year ago
Thank you