Railway run not working
henjesus
HOBBYOP

2 years 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

2 years ago

running locally is the correct behavior


2 years 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

2 years ago

n/a


henjesus
HOBBYOP

2 years ago

How do I run a command on my railway server?


2 years ago

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


henjesus
HOBBYOP

2 years ago

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


2 years ago

no problem at all


2 years ago

!s


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...