Update README with instructions and links
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[](https://app.netlify.com/sites/blahg/deploys)
|
[](https://app.netlify.com/sites/blahg/deploys)
|
||||||
|
|
||||||
Hello, welcome. This is a blog, or digital garden, or whatever. It's built with Astro, and uses TinaCMS to edit the content!
|
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
|
## See the blahg
|
||||||
|
|
||||||
@@ -13,13 +13,12 @@ Hello, welcome. This is a blog, or digital garden, or whatever. It's built with
|
|||||||
All commands are run from the root of the project, from a terminal:
|
All commands are run from the root of the project, from a terminal:
|
||||||
|
|
||||||
| Command | Action |
|
| Command | Action |
|
||||||
| :--------------------- | :----------------------------------------------- |
|
| :------------------------------- | :------------------------------------------------------------ |
|
||||||
| `npm install` | Installs dependencies |
|
| `npm install` | Installs dependencies |
|
||||||
| `npm run dev` | Starts local dev server at `localhost:3000` |
|
| `npm run dev` | Starts local dev server at `localhost:3000` |
|
||||||
|
| `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 build` | Build your production site to `./dist/` |
|
||||||
| `npm run preview` | Preview your build locally, before deploying |
|
| `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 |
|
|
||||||
|
|
||||||
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: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:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user