1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 07:25:19 +02:00

update readme with postmark instructions

This commit is contained in:
Tyler Myracle 2024-01-14 13:58:32 -06:00
parent 2a89e52f7a
commit f5d2c2aabd
2 changed files with 2 additions and 1 deletions

View file

@ -23,7 +23,6 @@ NX_CONVERTKIT_SECRET=
NEXT_PUBLIC_ZAPIER_FEEDBACK_HOOK_URL= NEXT_PUBLIC_ZAPIER_FEEDBACK_HOOK_URL=
# Email credentials # Email credentials
POSTMARK_SMTP_PASS=
NX_POSTMARK_FROM_ADDRESS=account@example.com NX_POSTMARK_FROM_ADDRESS=account@example.com
NX_POSTMARK_REPLY_TO_ADDRESS=support@example.com NX_POSTMARK_REPLY_TO_ADDRESS=support@example.com
NX_POSTMARK_API_TOKEN= NX_POSTMARK_API_TOKEN=

View file

@ -51,6 +51,8 @@ cp .env.example .env
Then, create a new secret using `openssl rand -base64 32` and populate `NEXTAUTH_SECRET` in your `.env` file with it. Then, create a new secret using `openssl rand -base64 32` and populate `NEXTAUTH_SECRET` in your `.env` file with it.
To enable transactional emails, you'll need to create a [Postmark](https://postmarkapp.com/) account and add your API key to your `.env` file (`NX_POSTMARK_API_TOKEN`). You can also set the from and reply-to email addresses (`NX_POSTMARK_FROM_ADDRESS` and `NX_POSTMARK_REPLY_TO_ADDRESS`). If you want to run the app without email, you can set `NX_POSTMARK_API_TOKEN` to a dummy value.
Then run the following yarn commands: Then run the following yarn commands:
``` ```