R
Railway9mo ago
hc1608

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:
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
Jump to solution
3 Replies
Percy
Percy9mo ago
Project ID: 8e4b2a38-649d-4ec6-bf04-1226e5dc73aa
hc1608
hc16089mo ago
8e4b2a38-649d-4ec6-bf04-1226e5dc73aa
Solution
Brody
Brody9mo ago
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
Want results from more Discord servers?
Add your server