Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.28 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.28 KB

Duyet Insights

Deployment

If you would like to deploy your own instance of the blog, follow these instructions:

1 Clone the repository:

git clone https://github.com/duyet/monorepo.git

2 Set up environment variables

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

5 Configuring Cloudflare

Follow this to create Cloudflare API key: https://developers.cloudflare.com/analytics/graphql-api/getting-started/authentication/api-key-auth/

Deploy Your Local Project

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.