# Publish a project

Source: https://layerwise.app/docs/deploy/publish

Deploy the current local workspace as a production release.

Publishing creates a production release from the current local workspace. Test the relevant path in the local preview before publishing.

## Publish [#publish]

1. Open the project in **Preview** mode.
2. Select **Publish** in the preview header.
3. Confirm that the preview is up to date, then select **Publish** from the menu.
4. Wait for the operation to finish.

After the first successful release, the menu shows the live URL. **Up to date** means the local source revision matches the last published revision.

![Publish menu showing the live website URL, database storage usage, and Publish button](/docs/screenshots/publish.webp)

_The menu shows (1) the live URL, (2) database storage usage, and (3) the Publish button._

## Keep a project private [#keep-a-project-private]

Turn on **Private** in the Publish menu to limit the live URL to members of your team. Anyone who opens it signs in with Layerwise first, using GitHub, Google, or a one-time email code. Visitors who aren't on the team see an access error instead of your app.

Privacy applies to the layerwise.site address and to every [custom domain](./custom-domains). You can switch it off or on at any time without publishing again.

Private projects require a paid plan, and new projects on paid plans start private. To give someone access, [invite them to your team](/docs/workspace/teams-and-members#invite-a-collaborator); every role can open private projects.

## Check deployment status [#check-deployment-status]

Open **Settings** in the project sidebar to see the production domain, active release, last known healthy release, and current deployment status.

Open [Deployments](./release-history) for the complete release list and deployment timeline.

## Before you publish [#before-you-publish]

Keep the local workspace available until publishing completes. Publishing is unavailable while another publish is running or if the local workspace has not finished preparing.

## View website traffic [#view-website-traffic]

After publishing, open **Analytics** in the project sidebar to see visits to your live website. Collection is enabled by default. See [Analytics](./analytics) for metrics, filters, CSV exports, and history limits.
