[web-devel] Announce: heroku package

Greg Weber greg at gregweber.info
Wed Jul 20 15:37:41 CEST 2011


That's a good point that you don't have to deploy your source. Personally I
wanted to have my source code to be pushed to Heroku to back it up. What
about ignoring the dist folder, copying assets into there (or symlinking
back to assets), and having a separate git repo in the dist folder for
deploying? Or doing something similar with a deploy folder that the binary
is also copied into/symlinked from. Let us know what you come up with.

Blog post is here: http://www.yesodweb.com/blog/2011/07/haskell-on-heroku

On Wed, Jul 20, 2011 at 2:43 AM, Sven Koschnicke <s.koschnicke at gfxpro.com>wrote:

> The biggest problem I had with deploying the loli app was that it must be
> compiled on a 64bit system. You should mention that in the documentation.
> I'm also thinking about the best practice for deploying through git to
> heroku. I don't want to send all the sources to heroku, so maybe a special
> deploy branch is the easiest way. It would be better to write a deploy
> script which copies all binaries and assets to a second repository, though.
>
> Sven
>
> Am 20.07.2011 um 04:55 schrieb Greg Weber:
>
> I uploaded a package designed to contain code useful for deploying to
> Heroku that I am using to deploy an app to Heroku that uses their free
> database [1]. All the package does now is parse the DATABASE_URL environment
> variable to help with connecting to the database. I will be doing a blog
> post on the Yesod blog shortly about deploying Yesod to Heroku, although
> everything is fairly well documented already [2].
> Previously a loli app was deployed to Heroku by Mark Wotton (in addition to
> a Yesod app), and dbpatterson had (I am assuming unresolved) issues with
> deploying a Snap app.
>
> [1] http://hackage.haskell.org/package/heroku-0.1
> [2]
> https://github.com/snoyberg/yesod/blob/master/scaffold/deploy/Procfile.cg
> [3] https://github.com/mwotton/heroku_haskell_demo
>
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel
>
>
>
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110720/1db95214/attachment.htm>


More information about the web-devel mailing list