Beefwater
Beefwater
RRailway
Created by Beefwater on 11/12/2023 in #✋|help
Deploy Django App - Crashing
Ah, got it. Thanks again.
20 replies
RRailway
Created by Beefwater on 11/12/2023 in #✋|help
Deploy Django App - Crashing
Ah ok. I did notice your version had an additional .json file. I know you said you just reflected the directory structure, but was there anything you immediately knew was wrong based on knowledge? I'm learning that theres a difference of how to build a Django app vs deploying a Django app in railway In any case, you helped me out a ton. Thanks.
20 replies
RRailway
Created by Beefwater on 11/12/2023 in #✋|help
Deploy Django App - Crashing
Thank you for fixing this for me. I appreciate your help. I have a request. If anyone comes after me and searches through the conversations and comes across this one, would you be able to walk me through what I did wrong? I followed the steps of the Django documentation. The structure was as they specified and the app ran locally. You knew exactly what was wrong and how to fix it. Is that documented somewhere? Or are there any references you can point me to to bookmark/study so I can learn to problem solve myself? I'd really like to know how or where I need to learn what you already knew. Thanks for your assistance.
20 replies
RRailway
Created by Beefwater on 11/12/2023 in #✋|help
Deploy Django App - Crashing
Ok done. I noticed the template didn't have some things I had and did have some things I don't. But I believe this reflects it. https://github.com/lmayfield78/toilet_train Verified - Still crashing with the error ModuleNotFoundError: No module named 'toilet_train_app'
20 replies
RRailway
Created by Beefwater on 11/12/2023 in #✋|help
Deploy Django App - Crashing
Everything is reverted. The strange part about Django is when we run the command to startproject, it creates the project file and the sub-project file with the same exact name. So I end up with two files with the same name. And from there it allows us to create the application directory. If the file structure is wrong, I'm wondering if that's a django thing or just what I need to change in order to use Railway. Thanks for the help BTW.
20 replies
RRailway
Created by Beefwater on 11/12/2023 in #✋|help
Deploy Django App - Crashing
Followed the instructions...I think. Failed faster. I believe I might be missing something from your instructions. Repo: https://github.com/lmayfield78/toilet_train Error:
[Region: us-west1]

==============

Using Nixpacks

==============


context: dbc0b401fe80c62fa008755b9620ab0e

Nixpacks build failed





Nixpacks was unable to generate a build plan for this app.

Please check the documentation for supported languages: https://nixpacks.com



The contents of the app directory are:



settings.py

asgi.py

wsgi.py

__init__.py

__pycache__/

urls.py

toilet_train_project/
[Region: us-west1]

==============

Using Nixpacks

==============


context: dbc0b401fe80c62fa008755b9620ab0e

Nixpacks build failed





Nixpacks was unable to generate a build plan for this app.

Please check the documentation for supported languages: https://nixpacks.com



The contents of the app directory are:



settings.py

asgi.py

wsgi.py

__init__.py

__pycache__/

urls.py

toilet_train_project/
20 replies