Using the CLI with self-hosted capgo
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
What this tutorial will cover?
Section titled โWhat this tutorial will cover?โThis tutorial will show how to use CLI in a dev environment with self hosted capgo
Getting started
Section titled โGetting startedโTo use the CLI with self-hosted capgo edit the capacitor.config.ts from your app directory and set it like this:
const config: CapacitorConfig = { appId: 'com.demo.app', appName: 'demoApp', webDir: 'dist', bundledWebRuntime: false, plugins: { CapacitorUpdater : { localHost: "http://localhost:5173", localWebHost: "http://localhost:5173", localSupa: "http://localhost:54321", localSupaAnon: "see_notes", }, },};Note: To get localSupaAnon please follow this tutorial and copy the anon key into localSupaAnon
Keep going from Using the CLI with self-hosted capgo
Section titled โKeep going from Using the CLI with self-hosted capgoโIf you are using Using the CLI with self-hosted capgo to plan dashboard and API operations, connect it with Using @capgo/capacitor-updater for the native capability in Using @capgo/capacitor-updater, API Overview for the implementation detail in API Overview, Introduction for the implementation detail in Introduction, API Keys for the implementation detail in API Keys, and Devices for the implementation detail in Devices.