astro-ghostcms/packages/create-astro-ghostcms/README.md

35 lines
1.3 KiB
Markdown
Raw Normal View History

2024-01-27 20:06:41 +00:00
# `@matthiesenxyz/create-astro-ghostcms`
Utility to quickly get started with our Integration and astro.
2024-01-28 10:04:45 +00:00
![Demo](../../.github/assets/create-astro-ghostcms-2024.jan.27.png)
2024-01-28 01:19:21 +00:00
2024-01-28 02:40:49 +00:00
The Default install method requires `pnpm` if you dont have `pnpm` installed you can change this by using the command below with the following argument `--pkg-manager <pkg-mngr>` with the Package manager of your choice(i.e npm, yarn).
2024-01-28 02:39:09 +00:00
2024-01-27 20:06:41 +00:00
```sh
2024-01-27 20:36:09 +00:00
npx @matthiesenxyz/create-astro-ghostcms
# OR
2024-01-27 20:06:41 +00:00
npx @matthiesenxyz/create-astro-ghostcms <template> <project_directory>
```
2024-01-28 02:39:09 +00:00
## Available command args:
```sh
npx @matthiesenxyz/create-astro-ghostcms --<arg>
2024-01-28 02:42:48 +00:00
# `--help` : Calls internal getHelp Function
# `--install` : Sets Install Dependencies to 'true'
# `--git` : Initiates git Repo
# `--dry` : Shows you what the command will do. (NO CHANGES WILL BE MADE)
# `--pkg-manager` : Specify your Package manager(i.e. npm, yarn | DEFAULT: pnpm)
2024-01-28 02:39:09 +00:00
```
2024-01-27 20:06:41 +00:00
## Available templates
2024-01-28 06:48:53 +00:00
| Template | Description |
| ------------ | ----------------------------------------------------- |
| `basic` | Basic Setup with astro-ghostcms and theme-default |
| `catppuccin` | Integration w/ Catppuccin & TailwindCSS |
2024-01-28 06:48:53 +00:00
| `starterkit` | Integration in API-Only Mode with customizable theme |