开始
复制一个包含安装步骤和完整 Markdown 指南的配置提示。
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-updater`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/updater/local-dev/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
本教程将涵盖什么?
标题为“本教程将涵盖什么?”的部分本教程将展示如何从零开始使用 Supabase,以及如何启动 Edge 函数
入门
开始使用运行以下命令开始
supabase start下一步应该看到类似这样的内容:
Started supabase local development setup.
API URL: http://localhost:54321 GraphQL URL: http://localhost:54321/graphql/v1 DB URL: postgresql://postgres:postgres@localhost:54322/postgres Studio URL: http://localhost:54323 Inbucket URL: http://localhost:54324 JWT secret: [truncated] anon key: supa_key_anonservice_role key: supa_key_admin下一步打开 configs.json 并设置以下值:
{ "base_domain": { "prod": "console.capgo.app", "development": "development.console.capgo.app", "local": "localhost:3332" }, "supa_anon": { "prod": "supa_key_anon", "development": "supa_key_anon", "local": "supa_key_anon" }, "supa_url": { "prod": "http://localhost:54321", "development": "http://localhost:54321", "local": "http://localhost:54321" }}其中 supa_key_anon 是上一步的值。
接下来,验证您可以访问 localhost:54323 并且表格 users 看起来像这样

如果它开始,请通过运行:
supabase functions serve并通过运行:
bun run serve继续从 Getting started
标题为“继续从 Getting started”如果您正在使用 Getting started 来规划原生插件工作,连接它与 使用 @capgo/capacitor-updater 在使用 @capgo/capacitor-updater 中的原生能力 Capgo 插件目录 在 Capgo 插件目录 中的产品工作流 Capacitor 由 Capgo 提供的插件 为 Capacitor 插件的实现细节在 Capgo 中 添加或更新插件 为添加或更新插件的实现细节在中 Ionic 企业插件替代品 为 Ionic 企业插件替代品的产品工作流程中