from Hacker News

Deploying an IHP Project to Fly.io

by _query on 6/27/22, 6:16 AM with 18 comments

  • by _query on 6/28/22, 8:59 AM

    If you're new to IHP, here's a few links to get you started:

    - Watch the intro video to get a rough overview of the framework: https://www.youtube.com/watch?v=UbDtS_mUMpI

    - You can see all Features of IHP described on the website https://ihp.digitallyinduced.com/

    If you want to play with IHP and build your first Haskell app:

    - Installing IHP: https://ihp.digitallyinduced.com/Guide/installation.html

    - Creating your First Project: https://ihp.digitallyinduced.com/Guide/your-first-project.ht...

    - Building a Single Page App? Check Thin Backend (https://thin.dev/), it's basically IHP for Frontend :)

  • by njaremko on 6/28/22, 2:16 PM

    (Author here) Never expected something I wrote to be on the first page of HN begins sweating. I’ll be checkin this post throughout the day, so if anyone has any questions, feel free to ask.
  • by katdork on 6/27/22, 6:06 PM

    I'm never sure why people speak so positively of IHP. It's like, yes, I'm a fan of Nix and Haskell, but IHP is effectively paid (at $25/mo! that's not even a paltry sum) for any of the more worthwhile features regarding account management. I have no clue why I'd want to buy into an ecosystem where such features are sequestered away from me by default.
  • by medo-bear on 6/28/22, 11:57 AM

    i think the new common lisp web/gui framework CLOG [0] thats being developped by david botton is a good competitor to IHP. it is also 100% free

    [0] https://github.com/rabbibotton/clog

  • by viraptor on 6/28/22, 9:16 AM

    > If you have the misfortune of using Windows or MacOS, you’ll need to use the following Dockerfile to build the image

    Nix builds just fine on macos and I believe there's been some success with WSL as well, so that's not really a limitation.

  • by jtwebman on 6/28/22, 3:11 PM

    Seems like nix makes this more work then just a simple 2 step Dockerfike that builds and sets it up to run.