I'd be interested in reading that and am sure others would be too!

On 12/13/14 1:01 PM, Norbert Melzer wrote:

I'd think the details would be of general interest, why don't write an article/blogpost?

Am 13.12.2014 18:50 schrieb "Ryan Trinkle" <ryan.trinkle@gmail.com>:

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@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@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@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@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners



_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners