From c3235db28b0026d9be41e7c9500ba6bb726eeb4b Mon Sep 17 00:00:00 2001 From: MarDi66 Date: Fri, 8 Jul 2022 10:41:49 +0200 Subject: [PATCH 1/2] update(README) --- examples/with-apivideo-upload/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/with-apivideo-upload/README.md b/examples/with-apivideo-upload/README.md index ce6f6b723ea6..9e79a0700d2c 100644 --- a/examples/with-apivideo-upload/README.md +++ b/examples/with-apivideo-upload/README.md @@ -21,7 +21,7 @@ npx create-next-app --example with-apivideo-upload with-apivideo-upload-app # or yarn create next-app --example with-apivideo-upload with-apivideo-upload-app # or -pnpm create next-app -- --example with-apivideo-upload with-apivideo-upload-app +pnpm create next-app --example with-apivideo-upload with-apivideo-upload-app ``` Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)). @@ -36,8 +36,9 @@ You can choose to stay in sandbox and have watermark over your videos, or enter ### 2. Get you API key Once in the dashboard, find your API keys directly in the `/overview` or navigate to `/apikeys` with the "API Keys" button in the side navigation. -Copy your API key and paste it in `.env.development` as value for `API_KEY`. -You can now try the application locally by running `npm run dev` from the root directory. +Copy your API key, and paste it in `.env.local.example` as value for `API_KEY`. +Rename `.env.local.example` to `.env.local`. +You can now try the application locally by running `npm run dev`, `yarn dev` or `pnpm dev` from the root directory. ### 3. Deployment From 7783bd7d9b792bbf0aff3a12b4199addf60f3f06 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Mon, 8 Aug 2022 00:27:58 -0500 Subject: [PATCH 2/2] fix create scripts --- examples/with-apivideo-upload/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/with-apivideo-upload/README.md b/examples/with-apivideo-upload/README.md index 9e79a0700d2c..a6ee13db2172 100644 --- a/examples/with-apivideo-upload/README.md +++ b/examples/with-apivideo-upload/README.md @@ -18,9 +18,13 @@ Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packag ```bash npx create-next-app --example with-apivideo-upload with-apivideo-upload-app -# or +``` + +```bash yarn create next-app --example with-apivideo-upload with-apivideo-upload-app -# or +``` + +```bash pnpm create next-app --example with-apivideo-upload with-apivideo-upload-app ```