Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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の技術ブログです。

Awesome Lists containing this project

README

        

RuiOkazaki.blog


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 |