Create, deploy and monitor your first site
Create a site in seven steps and watch it go from Awaiting permissions to Active.
Before you start
- You have an account: see Create your account.
- You have a Cloudflare account with R2 turned on and a GitHub account, yours or an End User's. See What you need before you start.
- Your role can write sites in the workspace. See Roles and permissions.
Steps
- Open Sites and select Create new site. The form shows "Step n of 7". To leave and come back, select Resume site creation on the Sites tab.
- Site name: enter 1 to 40 characters, using the letters A to Z, digits, spaces and hyphens.
- GitHub source: select A connection of this workspace, A new connection with OAuth, or Ask the account's owner to send an End User a one-time link.
- Cloudflare source: choose one of the same three. For a new connection, the form shows the Workers Free limits. Select This account is on Workers Paid if it applies.
- Repository: choose an official EmDash template (the default; Starter, Blog, Marketing or Portfolio), a new repository from your own template, or an existing EmDash repository. Fleet creates new repositories as private ones, under the name you type.
- Data location: select Automatic or European Union. You cannot change it later.
- Site settings: add an optional custom domain, an environment tag and a logo. Deploy the site as soon as it is set up is selected by default.
- Review your choices, then select Create.
Result
Create is your deploy trigger. When every connection is ready, Fleet creates the repository, database, bucket and key-value store in the Cloudflare account, commits the template's files and then the site's configuration, and deploys the site if Deploy the site as soon as it is set up is selected. The site moves through these statuses on the Sites tab:
Status | Meaning |
|---|---|
Awaiting permissions | An End User has not approved a link yet. Nothing is created until every grant has arrived. |
Creating site | Fleet is creating the resources. |
Ready to deploy | The resources exist. Nothing is deployed yet. |
Deploying | The build runs in GitHub Actions and Fleet uploads the result. |
Setup not finished | The site runs, and EmDash still asks for its first setup. Open the site and complete it. |
Active | The site is set up and running. |
Fleet checks the site every 5 minutes. It shows Awaiting first check until the first one, then Healthy or another label, explained in How Fleet checks a site's health. To sign in to the site's EmDash admin, use Open admin on the site page.
If something goes wrong
- Site creation failed: the site page shows the reason and offers Retry. See Site creation failed.
- R2 is not turned on: turn it on in Cloudflare, then select Retry. See What you need before you start.
- The build fails: see The build failed or did not finish.
- Your plan is at its limit: see The Cloudflare account reached a Workers limit.