#python: can't open file '/app/manage.py': [Errno 2] No such file or directory

4 messages · Page 1 of 1 (latest)

glossy mantle
#

Hey Guys, i want to deploy a Django Project to Railway. The Building Part was successful but it failed on the deployment. I checked the deploy logs and found this error several times: python: can't open file '/app/manage.py': [Errno 2] No such file or directory

The manage.py file is located on the same level as the Djangoproject and the App.
Git Clone Folder (Projectfolder, Procfile, requirements.txt, runtime.txt)
-> Projectfolder
-> Django Main (setings.py, wsgi.py etc.)
-> App (models.py, views.py)
-> manage.py

Do i do something wrong with the folder structure?

Project ID: fc8913c8-fcf1-4853-86b5-73033cb446ea

spiral pecanBOT
#

Project ID: fc8913c8-fcf1-4853-86b5-73033cb446ea

lethal sedge
#

whats your import path for the manage.py file?

glossy mantle
#

@lethal sedge Hey Brody i checked that and put requirements.txt, runtime.txt, Procfile to the BaseDir where the manage.py file is located. Then i set the import path to that directory and it worked. Thanks a lot. 🙂 👍