How to run commands on live service?

I would like to run a shell command on my django service thats online. Things like "python manage.py migrate" or "python manage.py custom_command".
Solution:
that is not possible, instead run these commands locally with railway run that runs the command on your computer, but makes the environment variables from your railway service available locally
Jump to solution
3 Replies
Percy
Percy3w ago
Project ID: 643c9962-5fa0-449c-82e0-67b30f66c552
Nahasco
Nahasco3w ago
643c9962-5fa0-449c-82e0-67b30f66c552
Solution
Brody
Brody3w ago
that is not possible, instead run these commands locally with railway run that runs the command on your computer, but makes the environment variables from your railway service available locally