Better Support for Mercurial on AppHarbor
You asked for it, and we built it: You can now use Mercurial to push code to AppHarbor. We have partnered with Bitbucket to handle the actual Mercurial repository hosting. This means there's currently a bit of setup to get started. We're working with the good folks at Bitbucket to automate the setup.
This is how the process works:
- Create a Bitbucket account if you don't have one already
- Create a Bitbucket repository and grant the
apphb
user read rights - Create an AppHarbor application
- Create a Bitbucket service-hook that POSTs to the AppHarbor "Create Build URL" when a push is received (URL is found on the AppHarbor application page)
- Start pushing to the Bitbucket repository.
There's a full guide with screenshots in the knowledge base.
Every time you push to the Bitbucket repository, the POST service you configured on Bitbucket will notify AppHarbor of the push. AppHarbor will use the apphb
user to retrieve your code and build and deploy it.
Monday, 7 March 2011