New IHP Case Study: How AirPV is making the process of going solar easier and better value with IHP
Create a new thread +
Single-query replacement for collectionFetchRelated?
My understanding of the collectionFetchRelated method is that if I query for 100 posts, they will be returned in one query, and then if I want their comments the >>= collectionFetchRelated will then run 100 more queries to return each…
Add Response
Autorefresh as pubsub
I set up a websocket connection using this example https://ihp.digitallyinduced.com/Guide/websockets.html Would it be possible to track certain DB tables here as well? Like AutoRefresh is doing for actions. I want to push something over WS…
Add Response
How to check if column exist, update if it does, and insert new if it doesnt?
Say I have a Post with many to many relationship to tags. It's nice to add the tags as a comma separated list when creating a post. That means I need to update two records at the same time. That seems fine. However, i struggle with the …
Add Response
./start: line 29: RunDevServer: command not found
vajrabisj
when execute the ./start of the blog example, got the following error: error: cycle detected in build of '/nix/store/mhgprkxfnmjglp547skvagf4kwikd23h-ormolu-0.1.4.1.drv' in the references of output 'bin' from output 'out…
Add Response
Running Consecutive Tests From ghci with hspec
If I load and run a /Main/Test.hs module to ghci from an IHP app and run the test suite one I get expected behaviour. But if a test fails and then I try to run main again from ghci prompt I get a: # PENDING: exception in beforeAll-hook …
Add Response
Where is ihp-app-to-docker-image command
bai PRO
I have ihp pro now, build the code again and everything looks fine. But I didn't find "ihp-app-to-docker-image" command, it is a pro feature and document said it can be used in the "application" folder. Where is this…
Add Response
Place to see diff between autogenerated code from IHP Versions?
Fritz Feger PRO
Is there a place where the ihp-new or „My First Project“ autogenerated code of (all or the most recent) IHP versions can be seen? Background: when upgrading to a new version I always wonder what of the boilerplate code in e.g. CSS or Layout…
Add Response
Slack-like Demo returns HTTP 502
ElectricErudite
Going through the docs and wanted to check out the live demo of the Slack-Like app (https://ihpchatexampleapp.ihpapp.com/). The url returns an HTTP 502. Was the live demo taken down for some reason? Any other tips or ideas? …
Add Response
Gitpod instance broken
Gonzalo Muñoz
Hi! I tried cloning the template for Gitpod but when I fire it up, I get the following errors: Warning: haddock-interfaces: /nix/store/sar2db2iiy3dmw7sag30zgwdl299i9mq-bytestring-builder-0.10.8.2.0/share/doc/x86_64-linux-ghc-8.10.4/bytestri…
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