www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Deploy vibe.d application on Heroku : App not compatible with

reply vnr <cfcr gmail.com> writes:
Hello,
I'm trying to deploy my vibe.d application to Heroku via the 
GitHub deployment method, so that I can post the source code to 
my repo publicly, as well as use it so that Heroku can host it.

I followed the instructions from Heroku and the vibe.d build 
pack, but unfortunately there seems to be an error when 
deploying, this is what I get:

```
-----> Building on the Heroku-20 stack
-----> Using buildpack: 
https://github.com/MartinNowak/heroku-buildpack-d
-----> App not compatible with buildpack: 
https://github.com/MartinNowak/heroku-buildpack-d
        More info: 
https://devcenter.heroku.com/articles/buildpacks#detection-failure
  !     Push failed
```

When I don't use the GitHub integration, but Heroku CLI, it works 
well. How to solve this problem?
Jun 28
parent reply Andre Pany <andre s-e-a-p.de> writes:
On Monday, 28 June 2021 at 13:53:05 UTC, vnr wrote:
 Hello,
 I'm trying to deploy my vibe.d application to Heroku via the 
 GitHub deployment method, so that I can post the source code to 
 my repo publicly, as well as use it so that Heroku can host it.

 I followed the instructions from Heroku and the vibe.d build 
 pack, but unfortunately there seems to be an error when 
 deploying, this is what I get:

 ```
 -----> Building on the Heroku-20 stack
 -----> Using buildpack: 
 https://github.com/MartinNowak/heroku-buildpack-d
 -----> App not compatible with buildpack: 
 https://github.com/MartinNowak/heroku-buildpack-d
        More info: 
 https://devcenter.heroku.com/articles/buildpacks#detection-failure
  !     Push failed
 ```

 When I don't use the GitHub integration, but Heroku CLI, it 
 works well. How to solve this problem?
Hi, Heroku is Cloud Foundry? If yes, you can make use of the binary buildpack or deploying your app as container too. Kind regards Andre
Jun 28
parent vnr <cfcr gmail.com> writes:
On Monday, 28 June 2021 at 16:14:07 UTC, Andre Pany wrote:
 On Monday, 28 June 2021 at 13:53:05 UTC, vnr wrote:
 [...]
Hi, Heroku is Cloud Foundry? If yes, you can make use of the binary buildpack or deploying your app as container too. Kind regards Andre
Thank you :) Via your explanation and some further research on my part, I was able to solve the problem!
Jun 28