Railway run not working
henjesus
HOBBYOP

a year ago

I don't know what's happening but I'm not able to use railway run, when I run the command it wants to run locally, not on my django server.

Solved

8 Replies

brody
EMPLOYEE

a year ago

running locally is the correct behavior


brody
EMPLOYEE

a year ago

> railway run --help
Run a local command using variables from the active environment

Usage: railway run [OPTIONS] [ARGS]...

Arguments:
  [ARGS]...  Args to pass to the command

Options:
  -s, --service           Service to pull variables from (defaults to linked service)
  -e, --environment   Environment to pull variables from (defaults to linked environment)
      --json                       Output in JSON format
  -h, --help                       Print help
  -V, --version                    Print version

brody
EMPLOYEE

a year ago

n/a


henjesus
HOBBYOP

a year ago

How do I run a command on my railway server?


brody
EMPLOYEE

a year ago

we do not provide that functionality yet, you would want to run the command locally through railway run


henjesus
HOBBYOP

a year ago

Brody, thank you very much my friend, it worked here now. It was my mistake


brody
EMPLOYEE

a year ago

no problem at all


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...