#python: can't open file 'manage.py'.Django api failed deployment
34 messages · Page 1 of 1 (latest)
Project ID: ea29d611-6cfa-40d0-b5b7-c8e81af2bc83
ea29d611-6cfa-40d0-b5b7-c8e81af2bc83
here's a railway provided django template for you to reference
https://github.com/railwayapp-templates/django
@limpid chasm what about a django api?
#🛂|readme #5
sorry but i am deploying a django api? what should i do
here's a railway provided django template for you to reference
https://github.com/railwayapp-templates/django
add your api routes however you like
kk also my manage.py does not open, may you see my github directory?
your folder structure is wrong
so, once again, please reference this django template
https://github.com/railwayapp-templates/django
yes but there is static files and i dont have them since it is an api
omit the parts you don't need, just use it as a guide for how your app should be setup and structured
ok thank you
3 minutes after starting my app, it crashed. can you identify the error (using railway.json simply results in "no start command found"
^
i cant change my project's structure like that else everything will break.
i've placed requirements.txt in project_dium> and my settings.py is placed in project_dium>backend>main_api. can you check my github and tell me what to do?
if you correctly structure your app, stuff will break?
well it is my first time deploying a django api and my django structure is way different than others.
then once again, please reference the template i linked to see how a django app should be structured
but my problem is that i cant take reference from this one since mine is different. i have my root directory: project_dium . then backend (where manage.py is) and main_api were settings.py is
how many total apps do you have in this project
5
are they all django apps
yes
do you need to run them all
yes
well you can only easily run one app per service
so how can I run the five of them