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
you can use
railway run
to run a local shell with your remote variables, but remote shells are not supported(it's
railway shell
) to get the shell with the env variables
railway run runs a command in your shell with your projetcs env variablesthey want an elixir shell
not bash
would be
railway run iex
oh, mb