[Haskell-beginners] Deploying a haskell application (not a webapp)

Ryan Trinkle ryan.trinkle at gmail.com
Sat Dec 13 17:50:19 UTC 2014


I use Nix package manager for binary deployment of Haskell applications,
and it works great. Feel free to email me directly if you're interested in
the specifics.
On Dec 13, 2014 12:34 PM, "Alan Buxton" <alanbuxton at gmail.com> wrote:

> Hi thanks for the input so far.
>
>
>
> See attached a zipfile of a simplified version of the app. It runs locally
> on my dev machine and I want to be able to run it on a separate server. I
> don’t want to share the app with anyone else.
>
>
>
> If I do “cabal install” with this particular application then it creates
> an executable at ~/.cabal/bin/app1
>
>
>
> If I copy that file onto the target server then I get the following output:
>
>
>
> $ ./app1 fred
>
> Hi fred
>
> Time now is 2014-12-13 17:27:21.764048 UTC
>
> app1: /home/alan/.cabal/share/app1-0.1.0.0/data/file1.txt: openFile: does
> not exist (No such file or directory)
>
>
>
> So sort of works but in particular the file attachment piece doesn’t work.
>
>
>
>
>
>
>
> *From:* Beginners [mailto:beginners-bounces at haskell.org] *On Behalf Of *Kim-Ee
> Yeoh
> *Sent:* 13 December 2014 16:53
> *To:* The Haskell-Beginners Mailing List - Discussion of primarily
> beginner-level topics related to Haskell
> *Subject:* Re: [Haskell-beginners] Deploying a haskell application (not a
> webapp)
>
>
>
>
>
> On Sat, Dec 13, 2014 at 8:54 PM, Alan Buxton <alanbuxton at gmail.com> wrote:
>
> I now want to deploy this application onto a separate server. This is not
> a webapp.
>
>
>
> Try as I might, Google will not point me in the direction of how to do
> this, apart from loads of links to Keter which is not what I want (there is
> no nginx or any other web server involved).
>
>
>
> Looks like there are some assumptions probably based on familiarity with
> some other language + toolchain.
>
> Of what is the haskell analogue you're looking for?
>
>
> -- Kim-Ee
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20141213/9cec2807/attachment.html>


More information about the Beginners mailing list