This README is missing a lot of information. Honza didn't have time yet to add a proper, nice README. The file currently only includes documentation of the hard parts of the development process, which would be easy to forget and difficult to learn again.
According to spectrum.chat/zeit:
-
Run following:
$ now dns add junior.guru '@' MX mx1.improvmx.com 10 $ now dns add junior.guru '@' MX mx2.improvmx.com 20 $ now dns add junior.guru '@' TXT 'v=spf1 include:spf.improvmx.com ~all'
-
Fill the form at ImprovMX
-
Setup and verify the address in MailChimp
- Follow the steps in the gspread guide. Instead of Google Drive API, enable Google Sheets API.
- Save the obtained JSON file into the
juniorguru/fetch
directory asgoogle_service_account.json
- Make sure it is ignored by Git
- Run
cat juniorguru/fetch/google_service_account.json | pbcopy
to copy the JSON into your clipboard (macOS) - Go to CircleCI project settings, page Environment Variables
- Add
GOOGLE_SERVICE_ACCOUNT
variable and paste the JSON from your clipboard as a value
The service account's email address needs to be manually invited wherever it should have access. If it should be able to access Google Analytics, go there and invite it as if it was a user.
- Follow MailChimp's own guide on how to create an API key
- Set it as
MAILCHIMP_API_KEY
environment variable for both local devlopment and production
-
If using Gmail for sending e-mails, create an app password.
-
Set the following environment variables:
export SMTP_HOST='smtp.example.com' export SMTP_PORT='587' export SMTP_USERNAME='example@example.com' export SMTP_PASSWORD='abc...xyz'
By default, sending is not enabled. On production or when trying to send e-mails from localhost an environment variable SMTP_ENABLED
needs to be set to something truthy.
The environment variable LOG_LEVEL
affects what gets filtered out. It's set to info
by default.