Unable to build Django app

Not sure what I'm doing wrong but getting a error building a Django API, haven't changed anything related to environment variables or the code in question. Any help would be greatly appreciated. Project ID: 9843f346-a12b-4123-a83d-6e17122da584 Logs are complaining about not being able to find django module, but I can see above it gets collected.
#10 14.39 Collecting django==3.2.18

#10 14.42 Using cached Django-3.2.18-py3-none-any.whl (7.9 MB)
#10 14.39 Collecting django==3.2.18

#10 14.42 Using cached Django-3.2.18-py3-none-any.whl (7.9 MB)
23 Replies
Percy
Percy2y ago
Project ID: 9843f346-a12b-4123-a83d-6e17122da584
Brody
Brody2y ago
send your requirements.txt file please
agamrp
agamrpOP2y ago
thanks for taking a look
Brody
Brody2y ago
full build logs please are you building with your own dockerfile
agamrp
agamrpOP2y ago
no, shouldn't be
Brody
Brody2y ago
can i see your repo?
agamrp
agamrpOP2y ago
hmm that might be trickier haha, its a private company repo. What would you be looking for? Maybe i can relay information
Brody
Brody2y ago
add me? oh, company
agamrp
agamrpOP2y ago
yeah sorry
Brody
Brody2y ago
show me the files in the project
agamrp
agamrpOP2y ago
sorry just to get more context, are you looking for a docker file? the project was building 2 days ago and haven't changed anything except for code commits unrelated to deploy/environment files etc
Brody
Brody2y ago
dockerfile, nixpacks.toml, railway.json and do you have any build or start commands set in the service settings
agamrp
agamrpOP2y ago
got it. yeah have this in settings: gunicorn -w 4 config.wsgi --log-file -
Brody
Brody2y ago
as a start command?
agamrp
agamrpOP2y ago
yeah, seemed to be working?
Brody
Brody2y ago
do you have a build command? in the service settings
agamrp
agamrpOP2y ago
but i checked and no other config files like railway.json, nixpacks.toml, dockerfile
agamrp
agamrpOP2y ago
Brody
Brody2y ago
show me the table at the top of your build log
agamrp
agamrpOP2y ago
Brody
Brody2y ago
^
agamrp
agamrpOP2y ago
Think I got it building again, not sure what actually fixed it but deleted a Procfile that originally used for heroku and also tried running the pending django migration locally connecting to the service, anyways no clue, thanks for the help, asking me about the files in the project led me to the Procfile
Brody
Brody2y ago
awesome, because railway does not set a release command itself
Want results from more Discord servers?
Add your server