Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cassidoo/astro-netlify-starter
A starter project for Astro and Netlify!
https://github.com/cassidoo/astro-netlify-starter
astro astrojs snowpack
Last synced: 3 months ago
JSON representation
A starter project for Astro and Netlify!
- Host: GitHub
- URL: https://github.com/cassidoo/astro-netlify-starter
- Owner: cassidoo
- Created: 2021-07-06T20:16:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-01T15:09:48.000Z (about 3 years ago)
- Last Synced: 2024-10-04T11:45:36.260Z (4 months ago)
- Topics: astro, astrojs, snowpack
- Language: Astro
- Homepage: https://astro-netlify.netlify.app/
- Size: 983 KB
- Stars: 68
- Watchers: 4
- Forks: 10
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-astro - Astro-netlify-starter
README
# Astro + Netlify Starter
[![Netlify Status](https://api.netlify.com/api/v1/badges/9e561573-ed5f-4ef9-86d1-e098fa22429f/deploy-status)](https://app.netlify.com/sites/astro-netlify/deploys)
This is an Astro (v0.21.6) starter project based on the [Astro Starter Kit](https://github.com/withastro/astro/tree/main/examples/starter), with a `netlify.toml` configuration included, and an example React component + CSS Module.
If you'd like to learn more about how Astro works, [here's an introductory blog post](https://dev.to/cassidoo/build-wicked-fast-sites-with-astro-an-introduction-173j)!
## Clone and Deploy
You can instantly clone this to your GitHub and deploy it by clicking this button here:
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/cassidoo/astro-netlify-starter)
Or, if you'd like to just use the CLI and not deploy just yet, you can use `create-astro` with this as a template:
```bash
npm init astro my-new-project --template cassidoo/astro-netlify-starter
```## Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :-------------- | :------------------------------------------ |
| `npm install` | Installs dependencies |
| `npm run start` | Starts local dev server at `localhost:3000` |
| `npm run build` | Build your production site to `./dist/` |## Want to learn more?
Feel free to check [the Astro documentation](https://docs.astro.build/getting-started/)!