feat: scaffold Astro 7 with Tailwind 4, MDX, sitemap, node adapter and tooling
- Tailwind v4 via @tailwindcss/vite + typography plugin - astro-icon (Tabler), self-hosted Rubik/Inter, RSS, Pagefind postbuild - Prettier (astro + tailwind plugins), editorconfig - new:post script with Turkish-aware slugify Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,43 +1,23 @@
|
||||
# Astro Starter Kit: Minimal
|
||||
# ta1sph.info
|
||||
|
||||
```sh
|
||||
npm create astro@latest -- --template minimal
|
||||
```
|
||||
Suphi Çakır (TA1SPH) — amatör telsizcilik blog & portfolyo sitesi.
|
||||
|
||||
> 🧑🚀 **Seasoned astronaut?** Delete this file. Have fun!
|
||||
- **Stack:** Astro 7 · TailwindCSS 4 · TypeScript (strict)
|
||||
- **Çıktı:** statik site + `@astrojs/node` (yalnızca görüntülenme sayacı API'si dinamik)
|
||||
- **Yayın:** Docker → Dokploy (HomeServer Atlas) → https://ta1sph.info
|
||||
|
||||
## 🚀 Project Structure
|
||||
## Komutlar
|
||||
|
||||
Inside of your Astro project, you'll see the following folders and files:
|
||||
| Komut | Açıklama |
|
||||
| :----------------------------- | :--------------------------------------------------- |
|
||||
| `npm install` | Bağımlılıkları kurar |
|
||||
| `npm run dev` | Geliştirme sunucusu (`localhost:4321`) |
|
||||
| `npm run check` | `astro check` (tip ve şablon kontrolü) |
|
||||
| `npm run build` | Üretim derlemesi + Pagefind arama indeksi |
|
||||
| `npm run preview` | Derlenmiş siteyi yerelde çalıştırır |
|
||||
| `npm run format` | Prettier ile biçimlendirir |
|
||||
| `npm run new:post -- "Başlık"` | `src/content/blog/<slug>/index.md` taslağı oluşturur |
|
||||
|
||||
```text
|
||||
/
|
||||
├── public/
|
||||
├── src/
|
||||
│ └── pages/
|
||||
│ └── index.astro
|
||||
└── package.json
|
||||
```
|
||||
## Lisans
|
||||
|
||||
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](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).
|
||||
Kod [MIT](LICENSE), içerik [CC BY-SA 4.0](LICENSE-CONTENT).
|
||||
|
||||
Reference in New Issue
Block a user