b5c33ed683a969b055d94652a4713ea1e6550176
Normalises text to LF and marks the migrated WordPress uploads (204 PNGs, 94 JPGs, plus GIFs/PDFs/ICO/MP4) as binary so git stops trying to diff, merge or rewrite endings in them. src/styles/global.css came out of the theme with CRLF endings and is renormalised here in one deliberate pass rather than leaving it to surprise someone on a later commit -- the content is byte-identical ignoring whitespace. .gitignore additionally covers .vscode/, *.log, *.swp, Thumbs.db and all .env variants -- the last of those matters because scripts/export-wp.mjs reads the WordPress DB credentials from the environment. Also corrects the note on the excluded 80MB video: it lives in public/ and Astro copies it into dist/ on every build, so no manual copy step is needed, contrary to what the old comment claimed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Astro Starter Kit: Minimal
npm create astro@latest -- --template minimal
🧑🚀 Seasoned astronaut? Delete this file. Have fun!
🚀 Project Structure
Inside of your Astro project, you'll see the following folders and files:
/
├── public/
├── src/
│ └── pages/
│ └── index.astro
└── package.json
Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.
There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
Any static assets, like images, can be placed in the public/ directory.
🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
👀 Want to learn more?
Feel free to check our documentation or jump into our Discord server.
Languages
CSS
53.8%
JavaScript
25.1%
Astro
19.7%
TypeScript
1.4%