An open API service indexing awesome lists of open source software.

https://github.com/nichoth/template-cloudflare

Template for cloudflare pages projects
https://github.com/nichoth/template-cloudflare

cloudflare cloudflare-pages

Last synced: 3 months ago
JSON representation

Template for cloudflare pages projects

Awesome Lists containing this project

README

          

# project name

Docs here

## staging

The staging branch is protected by HTTP basic auth. To set credentials, add
environment variables in the Cloudflare Pages dashboard scoped to the staging
branch (Settings → Environment variables):

| Variable | Required | Default | Description |
| ------------------- | -------- | ---------- | ------------------------- |
| `BASIC_AUTH_PASSWORD` | yes | — | Password for basic auth |
| `BASIC_AUTH_USER` | no | `staging` | Username for basic auth |

Leave these variables unset in production — auth is only enforced when
`BASIC_AUTH_PASSWORD` is present.

## develop

```
npm start
```