The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update dotenvx in example commands to be the correct package name (#35292)
Peter1e28f4e9f005
diff --git a/examples/slack-clone/nextjs-slack-clone-dotenvx/README.md b/examples/slack-clone/nextjs-slack-clone-dotenvx/README.mdindex 794ed86eafe..15366afc747 100644--- a/examples/slack-clone/nextjs-slack-clone-dotenvx/README.md+++ b/examples/slack-clone/nextjs-slack-clone-dotenvx/README.md@@ -137,7 +137,7 @@ SUPABASE_AUTH_ADDITIONAL_REDIRECT_URLS=https://<your-app-url>.vercel.app/**Encrypt GitHub credentials in dotenv file:```bash-npx dotenvx set SUPABASE_AUTH_EXTERNAL_GITHUB_SECRET "<your-secret>" -f supabase/.env.production+npx @dotenvx/dotenvx set SUPABASE_AUTH_EXTERNAL_GITHUB_SECRET "<your-secret>" -f supabase/.env.production```This also creates the encryption key in `supabase/.env.production` and the decryption key in `supabase/.env.keys`.@@ -145,9 +145,9 @@ This also creates the encryption key in `supabase/.env.production` and the decry3. **Deploy to Supabase Remote:**```bash-npx dotenvx run -f supabase/.env.production -- npx supabase link-npx dotenvx run -f supabase/.env.production -- npx supabase db push-npx dotenvx run -f supabase/.env.production -- npx supabase config push+npx @dotenvx/dotenvx run -f supabase/.env.production -- npx supabase link+npx @dotenvx/dotenvx run -f supabase/.env.production -- npx supabase db push+npx @dotenvx/dotenvx run -f supabase/.env.production -- npx supabase config push```### How to Use with Preview Branches@@ -159,7 +159,7 @@ Here's how to set up encrypted secrets for your preview branches:1. **Generate Key Pair and Encrypt Your Secrets:**```bash-npx dotenvx set SUPABASE_AUTH_EXTERNAL_GITHUB_SECRET "<your-secret>" -f supabase/.env.preview+npx @dotenvx/dotenvx set SUPABASE_AUTH_EXTERNAL_GITHUB_SECRET "<your-secret>" -f supabase/.env.preview```This creates a new encryption key in `supabase/.env.preview` and a new decryption key in `supabase/.env.keys`, specifically for your preview branches.