IHP 1.0 is out now!
Create a new thread +
Is there a good way to do nested/threaded comments in IHP?
Lillo PRO
Has anyone done nested comments in IHP in a clean-ish way yet? I get the feeling that comment_id / parent_id inside the comments table is not a a good idea, but would be nice if I could just do that :) I'm a bit skeptical to nested sets…
Add Response
File uploads on IHP Cloud: Can't create folder
Lillo PRO
Hi! File uploads are failing for me and I am unsure of what the reason can be. I get this error from sentry: /tmp/ihp-upload-6de360a7d350dccc: createDirectory: does not exist (No such file or directory) This is the function that uploads an…
Add Response
Best Mac system to install IHP
nimmividya
I am planning to buy IHP and IHP Cloud. I am a Mac user. I tried to install IHP on my MacBook Air M1 with Mac OS Monetary. It did not work. What is the best Mac System to install IHP? Thanks. …
Add Response
Any way to upload files through API?
Lillo PRO
Hi! I'm trying to attach a file to an IHP endpoint and catch that file with fileOrNothing, but nothing I try works. Tried everything from base64 to ArrayBuffer and File type in JS, but fileOrNothing ignores it. I have primarily tried to…
Add Response
Installation on Windows 10 (wsl): nix-env stderr: error: executing SQLite statement
Jörg Brüggmann
Dear all, I just tried to install IHP according to this installation procedure here: "https://ihp.digitallyinduced.com/Guide/installation.html". It seemd to work but when creating the very first project with "ihp-ne" acc…
Add Response
How do I see my application specific code in ghci?
when I run ghci in nix-shell I can see all the IHP.Prelude code but I can't see any of the code in my current application. How do I interact with my own code in ghci? Trying things in a repl is one of the main reasons why I like Haskell…
Add Response
how do you run ghci in the IHP context?
I am trying to run ghci on my terminal but it can't see the libraries, what is the syntax to run ghci? Here is the output I get from just running ghci: ghci GHCi, version 8.10.1: https://www.haskell.org/ghc/ :? for help Loaded package…
Add Response
JSONB with fill
I noticed that the IHP fill function gives a could not deduce (ParamReader Value) type error when trying to populate a record field with type JSONB. The application here is just looking to store the raw JSON payload from n AJAX request. I&#…
Add Response
Setting Cookies
peterbuckley17 PRO
I'd like to set cookies to manage access to a service via Cloudfront. Is there a best-practice way of setting a simple cookie {key}={value}? I'm having trouble parsing through the Session cookie code for inspiration. …
Add Response
How do i run more services?
Carl Hedgren PRO
I have a service that grabs things from the internet and puts in in postgres, how do i define that in ihp? in other deployments it gets run as a systemd unit. Is the best way to run it as an IHP Job? …
Add Response