rob8624
HOBBYOP
a year ago
Trying to perform ORM tests in Python shell, using Railway environment, so doing railway run python [manage.py](manage.py) shell
CAll to bd will be using my internal postgress address, but it's throwing an error when querying tables. Do i need to use public db address? I presumed railway CLI would enable internal db use?
Cheers!
Project : N/A
5 Replies
adam
MODERATOR
a year ago
Railway's CLI does not SSH into your service, it only copies your service's environment variables into your local environment. It does not allow you to run commands on the host machine
adam
MODERATOR
a year ago
No problem! Calling this solved now. If you have any further questions please open a new help thread.
adam
MODERATOR
a year ago
!s
Status changed to Solved adam • 12 months ago