My main website and blog posts. 👉 https://www.llun.me
- Install all dependencies with
yarn install
- Add
.env.local
with these environment variabels.NEXT_PUBLIC_DOMAIN
is domain name for localhost,http://127.0.0.1:3000
. It uses for link in the page, so the link in localhost works locally. This is set tohttps://llun.me
in Github.STRAVA_TOKEN
, generate access token with access toread_all
andactivity:read_all
for fetching Strava activities and detail.AWS_ACCOUNT_ID
, AWS Account idAWS_ACCESS_KEY_ID
, AWS Key for running infrastructure codeAWS_CLOUDFRONT_DISTRIBUTION
, Cloudfront distribution idAWS_SECRET_ACCESS_KEY
, AWS Secret for running infrastructure code
Most of the icons are from favicon.io except Github icon
-
Changing ActivityPub server domain, updates
infrastructure/functions/updateHost/index.js
script to new domain too -
services
- S3 buckets for storing all blog contents and images
- Github stores original contents
- Github Actions builds blog contents and send to S3
- Cloudfront in front of S3 Buckets and ActivityPub server in Vercel
- Cloudfront decides which domain to go to which origin, blog domain goes to S3, ActivityPub domain, updating the request with
updateHost
function and send to Vercel