Skip to main content

Host your first app

You need a Custd tenant administrator account and custdctl. Start with the hosted app starter or use a static app you already build.

Create the app​

  1. In the Custd console, open Apps, then New app.
  2. Enter a name. Custd uses it to choose the address, such as my-counter.custd.dev.
  3. If people need their own accounts in the app, select Let people sign in to this app. Sign-in starts by invitation only.
  4. Select Create app. The app opens with its address and deploy command.

Deploy the build​

Sign in to the public Custd deployment with custdctl login --profile prod. For a self-hosted deployment, sign in with your configured profile.

Build your app and run the following command from its project directory. Replace my-counter with the address label in the console. If you use a different output folder or profile, use those in the command.

custdctl apps deploy ./dist --app my-counter --profile prod

Custd uploads and verifies the build, then begins serving it. A new release can contain up to 1,000 files. Once the app says Live, select Open app to visit it. The Releases view shows which release is serving and lets you promote another verified release.

To deploy on every push, give your CI a deploy credential.