Skip to content
Guide

Run and deploy your apps

Use Play locally, connect a website to its API and choose how each app deploys.
On this page
  1. Run one app locally with Play
  2. Choose which API your website uses
  3. Agree how this app deploys
  4. Deploy and check the result

Run one app locally with Play

Open the Power Plant and find the app by name. A template website has its run steps ready. Choose Play, wait for the local address and open it. Use the address on the card each time because the available port can change. If the card shows Set up Play, choose a resident to inspect the project. Read its proposed commands before accepting them, then start the app. For a copied app that needs a local settings file, check the original-folder settings offered during setup.

Choose which API your website uses

Suppose your project has a website and a Backend/API. On the website card, edit its app connections, select the API and choose an address. Local is available when the API has a local run. A hosted address lets the website use a deployed API instead. Choose Save connections. Start the API or restart the website when the card offers that action.

A local website can still call a hosted API or database. Check the selected address, database name and environment settings for the app you are about to test. Open ⋯ → Keys and Secrets on its card to inspect setting names or replace a value. The local address tells you where the website is running; its connections determine where its requests go.

Agree how this app deploys

Check the branch shown in the Power Plant. If the app has no saved release steps on that branch, choose Set up Deploy. The resident looks for an existing workflow or host configuration. If it finds none, tell it where you would like to host the app, or ask it to suggest an option. A linked hosting project identifies the target; the resident still needs to establish how it gets new code.

Read the proposed branch, hosting project, command or GitHub workflow, and environment settings. If this is a test branch, check that the proposed site and database are the ones you intend to use. Choose Use this once the proposal is right. The saved release steps belong to this app and branch.

Deploy and check the result

Use the app’s saved Deploy action, or follow the GitHub workflow shown on its card. Confirm a production release when prompted. Open the hosted address once it is known. A published release with an unsuccessful health check may already be live; open the site and retry the check before publishing again. For a website that needs its backend’s address, deploy the API first or enter its known Production API address on the backend card. See Connect Vercel for host permissions and Connect Supabase for database settings.