A site is ready to launch when its draft builds with no warnings, its site.yaml has the address it will be served at,
and someone has looked at it on a phone. Launching is then three steps: publish, connect the domain, and invite the
owner. If the site is moving from another host, see Move a site from another host first, so the
old site’s addresses keep working.
Before it goes live
- Clear the Checks tab. Errors stop a build, but warnings don’t: a missing description, a title too long for search
results, a picture with no alt text, a broken link, text that’s hard to read on its background. Fix the warnings now,
while nobody is looking. On your own computer,
tekt check --strictfails on any warning. - Check
site.yaml.urlis the site’s address, likehttps://www.example.com. Hypertekt makes every link, the sitemap and the share cards from it. Checkname,description,timezoneandbusiness: the business’s address, phone and hours are what search engines show. - Look at the preview on a phone. Open the preview link on a real phone, or use the dashboard’s Phone preview,
and go through every page. Before a change is pushed,
tekt start --hostserves the site to a phone on the same Wi-Fi. - Send a form. Forms sent from the preview are tests, and aren’t kept or emailed, so try each form again once the site is live.
Publish
tekt publish
Or Publish in the dashboard. A site isn’t served at its domain until it has been published once, so publish before connecting the domain.
Connect the domain
In the site’s Settings › General, under Domains, add the domain in site.yaml’s url, starting with www. Add
the two DNS records that Settings gives you, where the domain’s DNS is managed. Connect a
domain has the details, and what to do when it doesn’t connect.
Hand it to its owner
tekt invite owner@example.com --owner
The owner is emailed an invitation. The dashboard opens for owners in its Manage view, with the preview, the Content tab and the Inbox. Help for owners is written for them, so point them to it.
After launch
- Releases. Every publish is a release. If a publish goes wrong, Undo the last publish in the dashboard makes
the previous release live again.
tekt rollbackdoes the same. - Search engines. Every site has a
sitemap.xmland arobots.txt, made for it. Add the site to Google Search Console and Bing Webmaster Tools, and give each of them/sitemap.xml.