Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruiokazaki-archive/ruiokazaki-blog
RuiOkazakiの技術ブログです。
https://github.com/ruiokazaki-archive/ruiokazaki-blog
astro mdx pnpm react typescript
Last synced: 3 months ago
JSON representation
RuiOkazakiの技術ブログです。
- Host: GitHub
- URL: https://github.com/ruiokazaki-archive/ruiokazaki-blog
- Owner: ruiokazaki-archive
- Created: 2022-10-25T06:52:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-02T00:52:52.000Z (over 2 years ago)
- Last Synced: 2024-02-02T02:50:32.634Z (about 1 year ago)
- Topics: astro, mdx, pnpm, react, typescript
- Language: Astro
- Homepage: https://blog.ruiokazaki.com/
- Size: 699 KB
- Stars: 7
- Watchers: 0
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
RuiOkazaki.blog
![]()
## 🚀 Project Structure
```
.
├── README.md
├── astro.config.mjs
├── firebase.json
├── package.json
├── pnpm-lock.yaml
├── public
│ ├── contents/
│ ├── favicon/
│ └── images/
├── src
│ ├── env.d.ts
│ ├── components/
│ ├── layouts/
│ ├── mdxComponents/
│ ├── pages/
│ ├── types/
│ └── utils/
└── tsconfig.json```
Blog looks for `.mdx` files in the `public/contents/` directory. Each page is exposed as a route based on its slug.
## 🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :-------------- | :--------------------------------------------------------------------------------- |
| `pnpm install` | Installs dependencies |
| `pnpm dev` | Starts local dev server at `localhost:3000` |
| `pnpm build` | Build your production site to `./dist/` |
| `pnpm preview` | Preview your build locally, before deploying |
| `pnpm deploy` | Deploy to firebase. Actually, it is deployed by GitHub Actions, so it is not used. |
| `pnpm new-post` | Write a new article |