Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gnometeaparty/astro-cloudflare-pages-template

A simple Astro Cloudflare Pages template.
https://github.com/gnometeaparty/astro-cloudflare-pages-template

astro cloudflare cloudflare-pages

Last synced: 10 days ago
JSON representation

A simple Astro Cloudflare Pages template.

Awesome Lists containing this project

README

        

# astro-cloudflare-pages-template

This is a template for Astro Cloudflare Pages.

## Getting Started

1. Rename the files in the project to the name of your app.

```bash
pnpx replace-in-file "astro-cloudflare-pages-template.gtp.dev" "MY_DOMAIN" "./**/*.*" --verbose
pnpx replace-in-file "astro-cloudflare-pages-template" "MY_APP" "./**/*.*" --verbose
```

2. Add the required environment variables to the `.env` file (see `.env.example` for reference).

3. If you're an external party and want to use this template, replace the `PUBLIC_FATHOM_SITE_ID` in the `wrangler.toml`
file with your own Fathom site ID.

4. Install dependencies

```bash
pnpm i
```