Trying to deploy django app, getting unclear error

Nixpacks build failed
Error: Failed to find django application name!
Nixpacks build failed
Error: Failed to find django application name!
This is all that is stated, I have no idea why it isn't finding the app name. Here is my Procfile:
release: python manage.py migrate
web: gunicorn appname.wsgi --log-file=-
release: python manage.py migrate
web: gunicorn appname.wsgi --log-file=-
Very simple. This setup worked on Heroku. Can someone help me deploying here?
14 Replies
Percy
Percy2y ago
Project ID: N/A
Percy
Percy2y ago
masmakour
masmakourOP2y ago
5dbd449a-5a05-4661-82e9-f1e2f2db4118 5dbd449a-5a05-4661-82e9-f1e2f2db4118 5dbd449a-5a05-4661-82e9-f1e2f2db4118
Finn
Finn2y ago
@themercenary
masmakour
masmakourOP2y ago
yes
Finn
Finn2y ago
if you know how to run your app you can fill these out
Finn
Finn2y ago
masmakour
masmakourOP2y ago
ok im going to try with that mess around with it
Finn
Finn2y ago
EmotiCoolChristmas
MantisInABox
MantisInABox2y ago
@themercenary did you get it to work?
masmakour
masmakourOP2y ago
yes not fully yet but i put the app in a folder inside another folder with the procfile, requs and version and changed my postgres setup and it deployed and is running guess you cant have that stuff inside the same folder as the project
MantisInABox
MantisInABox2y ago
I'm sure you can, it might be based on how you have things configured... But I know anytime I have ever done a Django project, my root contains only my manage.py and requirements.txt files.
masmakour
masmakourOP2y ago
for my case u couldnt might even be a glitch cause it detected the app when the requ txt wasnt there but then u put the requirements.txt says app no found
MantisInABox
MantisInABox2y ago
I know on Railway, I use the Django template, and then modify as needed... We are waiting for a few pull requests to get accepted to remove the Procfile and use only nixpacks... So, I wouldn't fully recommend using the template just yet.
Want results from more Discord servers?
Add your server