Configure letter opener

This commit is contained in:
Jorge Manrubia
2025-08-26 10:21:13 +02:00
parent b911a12833
commit 218519d075
6 changed files with 45 additions and 2 deletions
+13
View File
@@ -63,6 +63,19 @@ A typical scenario is making modifications LLM prompts. You need to:
Notice that if you pass changing data to the prompt, this mechanism won't work. E.g: if you pass data timestamps.
You need to make sure those timestamps are always the same across executions.
### Outbound Emails
#### Development
You can view email previews at http://know-it-all.localhost:3005/rails/mailers.
You can enable or disable [`letter_opener`](https://github.com/ryanb/letter_opener) to
open sent emails automatically with:
bin/rails dev:email
Under the hood, this will create or remove `tmp/email-dev.txt`.
## Environments
Fizzy is deployed with Kamal. You'll need to have the 1Password CLI set up in order to access the secrets that are used when deploying. Provided you have that, it should be as simple as `bin/kamal deploy` to the correct environment.