Make blog generic template for anyone
This commit is contained in:
10
README.md
10
README.md
@@ -1,12 +1,10 @@
|
||||
# My blaaaahg
|
||||
|
||||
[](https://app.netlify.com/sites/blahg/deploys)
|
||||
# Cassidy's blog template
|
||||
|
||||
Hello, welcome. This is a blog ("blahg" is the proper spelling for Chicagoans), or digital garden, or whatever. It's built with [Astro](https://astro.build), and uses [TinaCMS](https://tina.io) to edit the content!
|
||||
|
||||
## See the blahg
|
||||
|
||||
[blog.cassidoo.co](https://blog.cassidoo.co)
|
||||
[blahg.netlify.app](https://blahg.netlify.app/)
|
||||
|
||||
## Run it yourself
|
||||
|
||||
@@ -15,12 +13,12 @@ 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:3000` |
|
||||
| `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 |
|
||||
|
||||
You go to `localhost:3000/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:
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user