How can I open an interactive console into my box?

In Rails you could do in Heroku back in the day heroku run rails console. In Render.com I can just open the interactive shell in the website and bin/my_app console to get an interactive Elixir shell to run some commands inside my app. How can I do the same in Railway? I need to run some Elixir code against prod to create some records. Thanks!
4 Replies
nebula
nebula3y ago
you can use railway run to run a local shell with your remote variables, but remote shells are not supported
milo
milo3y ago
(it's railway shell) to get the shell with the env variables railway run runs a command in your shell with your projetcs env variables
nebula
nebula3y ago
they want an elixir shell not bash would be railway run iex
milo
milo3y ago
oh, mb
Want results from more Discord servers?
Add your server