Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Land(Update example with-apivideo-upload README) #39391

Merged
merged 3 commits into from Aug 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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