railway run, db access
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

Solved

5 Replies

rob8624
HOBBYOP

a year ago

N/A


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


rob8624
HOBBYOP

a year ago

@Adam right, cool, that's waht i guess but good to confirm. Cheers dude


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


Loading...