1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-10 07:55:21 +02:00

Merge pull request #59 from tmyracle/consolidate-postmark-env

Consolidate Postmark envs
This commit is contained in:
Josh Pigford 2024-01-14 19:25:18 -06:00 committed by GitHub
commit 70d2a45a5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -8,7 +8,6 @@ NX_POLYGON_API_KEY=
# If using free ngrok account for webhooks
NGROK_AUTH_TOKEN=
POSTMARK_SMTP_PASS=
NX_SESSION_SECRET=
# Generate a new secret using openssl rand -base64 32
@ -22,3 +21,8 @@ NX_FINICITY_PARTNER_SECRET=
NX_CONVERTKIT_SECRET=
NEXT_PUBLIC_ZAPIER_FEEDBACK_HOOK_URL=
# Email credentials
NX_POSTMARK_FROM_ADDRESS=account@example.com
NX_POSTMARK_REPLY_TO_ADDRESS=support@example.com
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.
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:
```