Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: update ef quickstart video. (#20899)

Thor 雷神 Schaeffd4e5662e87a7
diff --git a/apps/docs/pages/guides/functions/deploy.mdx b/apps/docs/pages/guides/functions/deploy.mdx
index e285c74f8e9..838d3b0ed5d 100644
--- a/apps/docs/pages/guides/functions/deploy.mdx
+++ b/apps/docs/pages/guides/functions/deploy.mdx
@@ -5,7 +5,7 @@ export const meta = {
title: 'Deploy to Production',
description: 'Deploy your Edge Functions to your remote Supabase Project.',
subtitle: 'Deploy your Edge Functions to your remote Supabase Project.',
- tocVideo: 'rzglqRdZUQE',
+ tocVideo: '5OWH9c4u68M',
}
Once you have developed your Edge Functions locally, you can deploy them to your Supabase project.
diff --git a/apps/docs/pages/guides/functions/local-development.mdx b/apps/docs/pages/guides/functions/local-development.mdx
index 9a7ad164646..6fd6ca4b885 100644
--- a/apps/docs/pages/guides/functions/local-development.mdx
+++ b/apps/docs/pages/guides/functions/local-development.mdx
@@ -17,6 +17,12 @@ You can follow the [Deno guide](https://deno.com/[email protected]/getting_started/
When using VSCode, you should install both the Deno CLI and the the Deno language server [via this link](vscode:extension/denoland.vscode-deno) or by browsing the extensions in vscode and choosing to install the _Deno_ extension.
+<Admonition type="tip">
+
+The Supabase CLI can automatically create helpful Deno settings when running `supabase init`. Simply select `y` when prompted "Generate VS Code settings for Deno? [y/N]"!
+
+</Admonition>
+
## Deno support in subfolders
You can enable the Deno language server for specific sub-paths in a workspace, while using VSCode's built-in JavaScript/TypeScript language server for all other files.
@@ -41,7 +47,7 @@ To enable the Deno language server only for the `supabase/functions` folder, add
## Multi-root workspaces in VSCode
-When developing with VS Code inside of an existing application, you can utilize [multi-root workspaces](https://code.visualstudio.com/docs/editor/workspaces#_multiroot-workspaces).
+We recommend using `deno.enablePaths` mentioned above as it's easier to manage, however if you like [multi-root workspaces](https://code.visualstudio.com/docs/editor/workspaces#_multiroot-workspaces) you can use these as an alternative.
<div className="video-container">
<iframe
diff --git a/apps/docs/pages/guides/functions/quickstart.mdx b/apps/docs/pages/guides/functions/quickstart.mdx
index 48e4f73e44c..9579693bccc 100644
--- a/apps/docs/pages/guides/functions/quickstart.mdx
+++ b/apps/docs/pages/guides/functions/quickstart.mdx
@@ -5,7 +5,7 @@ export const meta = {
title: 'Developing Edge Functions locally',
description: 'Get started with Edge Functions on your local machine.',
subtitle: 'Get started with Edge Functions on your local machine.',
- tocVideo: 'rzglqRdZUQE',
+ tocVideo: '5OWH9c4u68M',
}
Let's create a basic Edge Function on your local machine and then invoke it using the Supabase CLI.
@@ -24,6 +24,12 @@ Check out the [CLI Docs](/docs/guides/cli) to learn how to install the Supabase
</Admonition>
+<Admonition type="tip">
+
+If you're using VS code you can have the CLI automatically create helpful Deno settings when running `supabase init`. Simply select `y` when prompted "Generate VS Code settings for Deno? [y/N]"!
+
+</Admonition>
+
## Create an Edge Function
Let's create a new Edge Function called `hello-world` inside your project:
diff --git a/apps/www/_blog/2022-03-31-supabase-edge-functions.mdx b/apps/www/_blog/2022-03-31-supabase-edge-functions.mdx
index e18258044e6..616132ce632 100644
--- a/apps/www/_blog/2022-03-31-supabase-edge-functions.mdx
+++ b/apps/www/_blog/2022-03-31-supabase-edge-functions.mdx
@@ -11,7 +11,7 @@ tags:
- functions
date: '2022-03-31'
toc_depth: 3
-video: https://www.youtube.com/v/rzglqRdZUQE
+video: https://www.youtube.com/v/5OWH9c4u68M
---
<div className="bg-gray-300 rounded-lg px-6 py-2 bold">
@@ -115,14 +115,14 @@ To round off the end-to-end experience, `supabase-js` now works in Deno, making
<div className="video-container">
<iframe
className="video-with-border w-full"
- src="https://www.youtube-nocookie.com/embed/rzglqRdZUQE"
+ src="https://www.youtube-nocookie.com/embed/5OWH9c4u68M"
frameBorder="1"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
></iframe>
</div>
-Can't wait to get started? Develop, test, and deploy your first Supabase Edge Function in less than 7 minutes with our [Quickstart Video Tutorial](https://youtu.be/rzglqRdZUQE)!
+Can't wait to get started? Develop, test, and deploy your first Supabase Edge Function in less than 7 minutes with our [Quickstart Video Tutorial](https://youtu.be/5OWH9c4u68M)!
Check the [Edge Functions Docs](https://supabase.com/docs/guides/functions) for the steps.
## Example apps: Mobile payments with React Native and Flutter
diff --git a/apps/www/_blog/2022-04-01-hackathon-bring-the-func.mdx b/apps/www/_blog/2022-04-01-hackathon-bring-the-func.mdx
index bc1d8912cf2..eb56c546e71 100644
--- a/apps/www/_blog/2022-04-01-hackathon-bring-the-func.mdx
+++ b/apps/www/_blog/2022-04-01-hackathon-bring-the-func.mdx
@@ -130,7 +130,7 @@ Here's a collection of resources that will help you get started building with Su
- Getting started with [GraphQL on Supabase](https://supabase.com/blog/graphql-now-available#getting-started)
- [GraphQL HackerNews clone](https://supabase-graphql-example.vercel.app/)
- [Edge Functions Guide](https://supabase.com/docs/guides/functions)
-- [Edge Functions Quickstart video](https://youtu.be/rzglqRdZUQE)
+- [Edge Functions Quickstart video](https://youtu.be/5OWH9c4u68M)
- [Supabase CLI local development guide](https://supabase.com/docs/guides/local-development)
- [Edge Functions examples](https://github.com/supabase/supabase/tree/master/examples/edge-functions)
diff --git a/apps/www/_blog/2022-04-18-bring-the-func-hackathon-winners.mdx b/apps/www/_blog/2022-04-18-bring-the-func-hackathon-winners.mdx
index de6ded9d33e..a4f41165054 100644
--- a/apps/www/_blog/2022-04-18-bring-the-func-hackathon-winners.mdx
+++ b/apps/www/_blog/2022-04-18-bring-the-func-hackathon-winners.mdx
@@ -99,7 +99,7 @@ If you're inspired to build, check out some of the latest resources:
- Getting started with [GraphQL on Supabase](https://supabase.com/blog/graphql-now-available#getting-started)
- [GraphQL HackerNews clone](https://supabase-graphql-example.vercel.app/)
- [Edge Functions Guide](https://supabase.com/docs/guides/functions)
-- [Edge Functions Quickstart video](https://youtu.be/rzglqRdZUQE)
+- [Edge Functions Quickstart video](https://youtu.be/5OWH9c4u68M)
- [Supabase CLI local development guide](https://supabase.com/docs/guides/local-development)
- [Edge Functions examples](https://github.com/supabase/supabase/tree/master/examples/edge-functions)