braydoncoyer / braydoncoyer.dev

My portfolio powered by Next.js, content sourced from Notion, styled with Tailwind CSS and deployed on Vercel. 🙌
https://braydoncoyer.dev/
580 stars 90 forks source link

how to fill .env file?Thanks! #204

Open wdzhwsh4067 opened 1 year ago

wdzhwsh4067 commented 1 year ago

Hi there! Below is the .env file I filled out, but I don't know how to fill in the other blanks. I only have the address for Notion and the database ID.

Thank you for your help!

GA_MEASUREMENT_ID=

REVUE_API_KEY=

API_KEY=
AUTH_DOMAIN=
DATABASE_URL='https://verdant-failing-c8d.notion.site/1704e7eecded45e28d71d70362b72f34?v=e2474f021ba742cab96c482034630ae0'
PROJECT_ID='1704e7eecded45e28d71d70362b72f34'
STORAGE_BUCKET=
MESSAGING_SENDER_ID=
APP_ID=
MEASUREMENT_ID=
NEXT_PUBLIC_GOOGLE_ADSENSE=
wdzhwsh4067 commented 1 year ago

Now, I complete the question I issued: here is the solution:

1.The dependent package autoprefixer@10.4.0 in JavaScript needs to be upgraded to autoprefixer@10.4.5, otherwise there may be some minor errors, but it does not affect normal use. 2.Revue company has been acquired and can no longer provide services. Therefore, the subscription function cannot be used.I already remove subscription function 3.An .env file needs to include the following fields:

NEXT_PUBLIC_SUPABASE_URL=???
NEXT_PUBLIC_SUPABASE_CLIENT_KEY=???
NOTION_SECRET=???
BLOG_DATABASE_ID=???
MounibNemmiche commented 9 months ago

@wdzhwsh4067 I did create an account in supabase, and i got my project API KEY and URL, the probleme is that in deployement process, the production stop because there is no database, SO WHAT SHOULD I DO ? NEXT_PUBLIC_SUPABASE_URL=?? NEXT_PUBLIC_SUPABASE_CLIENT_KEY=??

and Thanks in advance!