Lillo

Threads by Lillo

Running IHP as a systemd service on NixOS
Lillo PRO
Hi! This might be mostly systemd related, but I'm trying to run IHP as a systemd service on a NixOS webserver, eventually on DigitalOcean for a service I am making. Currently testing locally on my NixOS machine with a fresh IHP project.…
Add Response
Anyone had any luck with Haskell SSH clients?
I want to access and manage webservers through SSH with a web interface through IHP, and preferably get the output to print on screen. Preferably also have a way of knowing if it was successful or exited with an error. Are there any decent …
Add Response
Dealing with really big db tables, any advice?
Lillo PRO
Any advice for dealing with very big tables in IHP? Product page here has gotten so dreadfully slow even when paginated and client-side loaded: https://dill.network/Products There is 2 million products in the DB, so big, but I guess it'…
Add Response
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
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
Any way to import fixtures/tables from production DB to dev DB?
Lillo PRO
Happy New Year everyone! I think I have overheard some different techniques for DB diffing to the IHP fixtures on Slack, so hope someone has some input. Does anyone know of a good way to import the database in production and hydrate the loc…
Add Response
How do I trigger a job scheduled for later by setting #runAt?
Lillo PRO
Hi! I have a habit tracker on my app, and every time I mark that I have for example exercised today, I want to schedule an action to be performed just after midnight (at the users LocalTime), meaning at the very start of the following day. …
Add Response