Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use Heroku buildpacks to deploy to my own local server? [closed]

I really like the deployment architecture of Heroku.

Is it possible to take one of Heroku's buildpacks (e.g. Heroku's buildpack for Ruby) to deploy my app to my own server (local Linux or EC2 running Ubuntu), using the familiar command

linux> git push localserver master

where localserver is a git endpoint to which I can push my repository.

If so, is there any place which documents setting up a local or EC2 server to do this as a repeatable process?

like image 376
Jay Godse Avatar asked Jul 26 '12 20:07

Jay Godse


People also ask

How does Heroku Buildpacks work?

Heroku Buildpacks are sets of open source scripts that are used for compiling apps on Heroku. They form the backbone of Heroku's polyglot platform. Buildpacks enable you to extend Heroku's build system to support your language or customizations, or to make particular binary packages available to the runtime.

Is occurs when Heroku Cannot detect the Buildpack to use for this application automatically?

Resolution. This error message means that Heroku was unable to automatically detect the type of app you're trying to deploy: Ruby, Node, Python, PHP, Java, etc. We look for signatures for each language we support (like a pom. xml file or package.

What is Buildpacks?

Buildpacks provide framework and runtime support for apps. Buildpacks typically examine your apps to determine what dependencies to download and how to configure the apps to communicate with bound services. When you push an app, Cloud Foundry automatically detects an appropriate buildpack for it.


1 Answers

Perhaps I am not very helpful, but just wanted to mention that Heroku's own blog post about buildpacks says (http://blog.heroku.com/archives/2012/7/17/buildpacks/):

Using buildpacks can be a convenient way to leverage existing, open-source code to add new language and framework support to your own platform. Stackato, a platform-as-a-service by ActiveState, recently announced support for Heroku buildpacks.

You can also run buildpacks on your local workstation or in a traditional server-based environment with Mason.

like image 195
khustochka Avatar answered Sep 21 '22 16:09

khustochka