DEV Community


Discussion on: A Vapor Guide-Setup and Deployment with Heroku and Ubuntu

zaindevstudio profile image

I have followed all steps, everything goes well. I have installed Heroku Postgres. but when I try to push code to Heroku, it gives me error "No default language could be detected for this app."
I have attached screen shot of error.

leogdion profile image
leogdion Author

Did you add the build pack for your application?
If you run vapor heroku init it should set you up. The other file you need is a Procfile which tell Heroku what to do. You read more about that here: