If you would like to deploy your own instance of the blog, follow these instructions:
git clone https://github.com/duyet/monorepo.git
Copy the .env.local.example
file in this directory to .env.local
(which will be ignored by Git):
cp .env.local.example .env.local
or clone from Vercel deploy
vercel env pull .env.local
Follow this to create Cloudflare API key: https://developers.cloudflare.com/analytics/graphql-api/getting-started/authentication/api-key-auth/
NEXT_PUBLIC_CLOUDFLARE_API_KEY
: Cloudflare API KeyNEXT_PUBLIC_CLOUDFLARE_ZONE_ID
: Cloudflare Zone, see https://developers.cloudflare.com/fundamentals/get-started/basic-tasks/find-account-and-zone-ids/
To deploy your local project to Vercel, push it to GitHub/GitLab/Bitbucket and import to Vercel.
Important: When you import your project on Vercel, make sure to click on Environment Variables and set them to
match your .env.local
file.