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

Ryan Trinkle ryan.trinkle at gmail.com
Sun Dec 14 15:45:10 UTC 2014


Duly noted!  I didn't think an in-depth discussion of Nix would be on-topic
for this mailing list, but it looks like there's more interested than I
thought.  When I get the chance to put something together, I'll make sure
to send out a link here.

On Sun, Dec 14, 2014 at 4:21 AM, Thomas Jakway <tjakway at nyu.edu> wrote:
>
>  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 at 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 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
>>>
>>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners at haskell.org
>> http://www.haskell.org/mailman/listinfo/beginners
>>
>>
>
> _______________________________________________
> Beginners mailing listBeginners at haskell.orghttp://www.haskell.org/mailman/listinfo/beginners
>
>
>
> _______________________________________________
> 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/20141214/fc8be05d/attachment.html>


More information about the Beginners mailing list