python manage.py migrate
I am trying to find a way to run the command for my project on railway. I tried using railway run <cmd> after setting up cli but it was working on local directory. Can someone tell the way to run the command please
Solution:Jump to solution
railway runs
does indeed run the command locally, but it runs it with the linked service variables available, so make sure you run railway link
and select the correct project / environment / service, the command also must be ran from within your local project folder3 Replies
Project ID:
8e4b2a38-649d-4ec6-bf04-1226e5dc73aa
8e4b2a38-649d-4ec6-bf04-1226e5dc73aa
Solution
railway runs
does indeed run the command locally, but it runs it with the linked service variables available, so make sure you run railway link
and select the correct project / environment / service, the command also must be ran from within your local project folder