p4p4j0hn's place - my thoughts, ramblings, hopes, and dreams https://p4p4j0hn.ca
Find a file
John Schmidt e74b5cb7b4
Adding rss link in the header
This allows feed readers to easily identify the rss link.

Signed-off-by: John Schmidt <john@schmidthaus.rocks>
2026-01-07 19:20:36 -08:00
.husky Fixed husky pre-commit hook 2026-01-07 15:38:23 -08:00
scripts Added easy-sftp-deploy config 2026-01-06 19:21:07 -08:00
src Adding rss link in the header 2026-01-07 19:20:36 -08:00
.editorconfig Set the max line length to 80. 2025-11-01 20:19:55 -07:00
.gitignore Added easy-sftp-deploy config 2026-01-06 19:21:07 -08:00
astro.config.mjs Initial site structure complete. 2025-05-15 10:37:01 -07:00
package-lock.json Added dynamic favicon and web manifest generation. 2025-11-03 20:02:10 -08:00
package.json Added easy-sftp-deploy config 2026-01-06 19:21:07 -08:00
README.md Initial commit from Astro 2025-04-11 22:05:01 -07:00
tsconfig.json Initial site structure complete. 2025-05-15 10:37:01 -07:00

Astro Starter Kit: Minimal

npm create astro@latest -- --template minimal

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

🧑‍🚀 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.