Charlie Harrington's Blog - charlieharrington.com
Source code for my website
Create env.sh
with required env variables
export INSTAGRAM_TOKEN="foo"
export GOODREADS_API_KEY="foo"
export GOODREADS_USER_ID="foo"
export GOOGLE_ANALYTICS_ID="foo"
export GATSBY_GOOGLE_SITE_VERIFICATION="foo"
Then run these commands:
npm install
npm develop
./scripts/new-post.sh
Netlify deploys automatically from the master
branch.
Note: new API keys / env variables also needed to be added on Netlify.
Also, make sure there is a CNAME file at the root directory that looks like this:
www.charlieharrington.com