Skip to content

Commit

Permalink
Land(Update example with-apivideo-upload README) (#39391)
Browse files Browse the repository at this point in the history
* update(README)

* fix create scripts

Co-authored-by: MarDi66 <yohann.mtfpro@gmail.com>
  • Loading branch information
ijjk and MarDi66 committed Aug 8, 2022
1 parent 59b144c commit f60f8ae
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions examples/with-apivideo-upload/README.md
Expand Up @@ -18,10 +18,14 @@ 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
pnpm create next-app -- --example with-apivideo-upload with-apivideo-upload-app
```

```bash
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)).
Expand All @@ -36,8 +40,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

Expand Down

0 comments on commit f60f8ae

Please sign in to comment.