Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/gnometeaparty/astro-cloudflare-pages-template
- Owner: gnometeaparty
- License: mit
- Created: 2024-12-24T19:52:56.000Z (12 days ago)
- Default Branch: main
- Last Pushed: 2024-12-24T22:16:43.000Z (12 days ago)
- Last Synced: 2024-12-24T22:24:11.295Z (12 days ago)
- Topics: astro, cloudflare, cloudflare-pages
- Language: Astro
- Homepage: https://astro-cloudflare-pages-template.gtp.dev
- Size: 110 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```