chore: README eguneratzen du

This commit is contained in:
2025-11-06 10:21:38 +01:00
parent 0ee3077314
commit f1b4677522

View File

@@ -1,54 +1,28 @@
# Cassidy's blog template
# txarli.dev
[![Netlify Status](https://api.netlify.com/api/v1/badges/eab04209-5f7f-41ed-a8dd-c45a9ebb1834/deploy-status)](https://app.netlify.com/sites/blahg/deploys)
Hamarkada bat daramat internet eta web garapenean murgilduta: hasieran nire kabuz, gero zenbait militantzia esparrutan eta, ondoren, zerbitzu enpresa batentzat proiektuak aurrera ateratzen. Gaur egun, Nafarroako D ereduko Lanbide Heziketako irakaslea naiz ogibidez. Horrekin batera, militantzia esparrutako frikigintzan eta katxarreo sanoan jarraitzen dut. Txistularia ere banaiz.
Hello, welcome. This is a blog ("blahg" is the proper spelling for Chicagoans) template. It's built with [Astro](https://astro.build), and uses [TinaCMS](https://tina.io) to edit the content!
Honako hau nire interneteko txokoa da (edo bloga, edo oasia, edo lorategi digitala...). Edonola ere, egindakoa eta ikasitakoa partekatzeko baliatu nahi dut.
![cover](https://github.com/cassidoo/blahg/assets/1454517/b56ff04f-9499-48e7-be62-d9b422c4287d)
Ongi etorri interneteko txoko honetara! 🌷
## See the blahg
## Kodearen iturria
[blahg.netlify.app](https://blahg.netlify.app/)
Ez dakit nora joango den proiektutxo hau eta zein izango den bere etorkizuna, baina bidezkoa da nondik datorren adieraztea. Izan ere, [Cassidy Williamsen](https://cassidoo.co/) bloga ezaguna nuen eta, [Astron](https://astro.build) egina zegoela eta MIT lizentzia erabiltzen zuela ikusi nuenean, software librearen printzipioei men eginez, fork bat egin eta nire beharretara egokitu nuen. Ez dut uste hau irakurriko duzunik, Cassidy, baina eskerrik asko! 💚
## To use the template
## Web orria produkzioan ikusteko
- Connect to your chosen hosting provider (see Deploy to Netlify button below if you want to go that route, otherwise use the GitHub template button above and pick a different one)
- Make an account at [tina.io](https://tina.io/)
- Add your TinaCMS keys (see below)
- Update `astro.config.mjs` with your domain
- Edit `src/config.js`
- Add your URL in line 1 of `public/robots.txt`
- Add your links in `src/components/Header.astro`
- Update the intro in `pages/about.md`
- Edit the images in `public/` (optional)
- Edit whatever tags you want in `tina/config.js` (optional)
[txarli.dev](https://txarli.dev/)
After this, you can add your content to `posts/` with Markdown files, or with TinaCMS by going to `yoururl.com/admin`!
## Lokalean frogatzeko edo zuk erabiltzeko
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/cassidoo/blahg)
And finally, please ping me (via social media, or in a GitHub Issue, or whatever) if you use this template! I would love to see your writing and subscribe to your RSS feed!
## Run it yourself
All commands are run from the root of the project, from a terminal:
`pnpm` baliatzen dut, baina beste edozein pakete kudeatzaile erabili dezakezu (`npm`, `yarn`...):
| Command | Action |
| :------------------------------- | :------------------------------------------------------------ |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:4321` |
| `npx tinacms dev -c 'astro dev'` | Manually run local server if the regular command doesn't work |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `pnpm install` | Dependentziak instalatzeko |
| `pnpm dev` | Starts local dev server at `localhost:4321`-en garapenerako zerbitzari lokal bat altxatzeko |
| `pnpm build` | Produkziorako fitxategi estatikoak `./dist/` direktorioan eraikitzeko |
| `pnpm preview` | Desplegatu aurretik, lokalean produkzioko bertsioa ikusteko |
You go to `localhost:4321/admin/index.html` to see the CMS and use it. If you want to clone this for yourself, you'll need a `.env.development` file that has the following in it:
```
TINACLIENTID=<from tina.io>
TINATOKEN=<from tina.io>
TINASEARCH=<from tina.io>
```
If you get a remote GraphQL schema error, chances are you need to update TinaCMS, [details here](https://tina.io/docs/introduction/faq#how-do-i-resolve-the-local-graphql-schema-doesnt-match-the-remote-graphql-schema-errors)!
**Have fun!**
**Ongi izan!**