R
Railway•17mo ago
rayanthecoder

python: can't open file 'manage.py'.Django api failed deployment

my django deployment in railway was successful, but i had many of these errors:python: can't open file 'manage.py': [Errno 2] No such file or directory . These are resulting in 503 errors
32 Replies
Percy
Percy•17mo ago
Project ID: ea29d611-6cfa-40d0-b5b7-c8e81af2bc83
rayanthecoder
rayanthecoder•17mo ago
ea29d611-6cfa-40d0-b5b7-c8e81af2bc83
Brody
Brody•17mo ago
here's a railway provided django template for you to reference https://github.com/railwayapp-templates/django
rayanthecoder
rayanthecoder•17mo ago
@Brody what about a django api?
Brody
Brody•17mo ago
#🛂|readme #5
rayanthecoder
rayanthecoder•17mo ago
sorry but i am deploying a django api? what should i do
Brody
Brody•17mo ago
here's a railway provided django template for you to reference https://github.com/railwayapp-templates/django add your api routes however you like
rayanthecoder
rayanthecoder•17mo ago
kk also my manage.py does not open, may you see my github directory?
rayanthecoder
rayanthecoder•17mo ago
GitHub
GitHub - AH07pro1/project_dium: This is the Dium's repository
This is the Dium's repository. Contribute to AH07pro1/project_dium development by creating an account on GitHub.
Brody
Brody•17mo ago
your folder structure is wrong so, once again, please reference this django template https://github.com/railwayapp-templates/django
rayanthecoder
rayanthecoder•17mo ago
yes but there is static files and i dont have them since it is an api
Brody
Brody•17mo ago
omit the parts you don't need, just use it as a guide for how your app should be setup and structured
rayanthecoder
rayanthecoder•17mo ago
ok thank you
rayanthecoder
rayanthecoder•17mo ago
3 minutes after starting my app, it crashed. can you identify the error (using railway.json simply results in "no start command found"
Want results from more Discord servers?
Add your server