Public servers
Sharing work with external people¶
Sometimes it's useful to share our work with external people to get feedback before publishing it to the public. All staging servers are by default available to the public on https://<branch>.owid.pages.dev/
.
Sharing explorers¶
To share explorers with the public, follow these steps:
- Set
isPublished
totrue
in your explorer configuration. - Commit to trigger a deploy (could be empty commit with
--allow-empty
) - Share your explorer with public on e.g. https://
.owid.pages.dev/explorers/my-explorer.
Sharing private work with external people¶
If you created a private staging server with a -private
suffix, the domain https://<branch>.owid.pages.dev/
will not be publicly accessible. However, you can share it with specific external people by making it public initially and then protecting it with Cloudflare Access.
- Do not use the
-private
suffix in your branch name. - Go to Cloudflare Access -> Applications and edit the application Cloudflare Pages (owid).
- In the
Overview
tab, click on+Add domain
and enter the subdomain of your staging server. - Go to the Policies tab and edit the External e-mails policy.
- Add the e-mail addresses of the people you want to share the staging server with.
Once set up, the URL https://<branch>.owid.pages.dev/
will require authentication. People with the e-mails you added in the policy will be able to access it via Google or by entering their e-mail address and using the code sent to them.