Projects
A project is one app from one repository. It has its own settings, its own Workers, and its own previews, domains and logs.
- acme/platform
- apps
- web
- docs
- packages
One app, one project
A project connects one folder of a repository to your workspace. This folder is the root directory. In a simple repository, the root directory is the root of the repository. In a monorepo, it is the folder of one app, for example apps/web.
To deploy two apps from one monorepo, import the repository two times, one time for each app. See Monorepos.
Two Workers
Each project has two Workers in your Cloudflare account:
| Worker | Name | Serves |
|---|---|---|
| Production Worker | The project name, for example shop |
The production branch and your custom domains |
| Preview Worker | The project name with -preview, for example shop-preview |
All other branches, one URL for each branch |
A preview deployment never changes the production Worker.
What a project holds
| Setting | What it does |
|---|---|
| Project name | The name of the production Worker. Lowercase letters, digits and dashes, up to 63 characters. |
| Production branch | The branch that deploys to production. At import, it is the default branch of the repository. |
| Root directory | The folder of the app in the repository. |
| Build and install commands | The commands that the build runs. See Build settings. |
| Environment variables | API keys, tokens and other values, set as Cloudflare secrets. See Environment variables. |
| Resources | The KV namespaces, D1 databases, R2 buckets and other resources that your bindings use. See Bindings. |
| Domains | The custom domains of production. See Custom domains. |
Most changes apply from the next deployment.
Live projects
A project is live when Conic deploys its pushes. On Free, a workspace has up to 3 live projects. Conic pauses the other projects until you upgrade, or until you select the 3 projects that stay live. Pro and Team have no limit.