# SanYeCao-Blog
[中文 | English]
✨SanYeCao Blog✨
🌊Lightweight / Fast / Beautiful🌊
Built With
## 😋 Features
- Built with purely static pages, responsive, lightweight, and visually pleasing
- Easy to use, with automatic deployment via GitHub Actions
- Astro Is All You Need
For more previews, please see: [Images.md](docs/Images.md).
## 🧳 Usage
### 1. Fork this repository
Then clone it to your local machine.
### 2. Run / Build
> [!IMPORTANT]
>
> Before getting started, please rename `.env.example` in the root directory to `.env` and configure the environment variables, otherwise some features may not work properly.
For details about environment variables, see: [EnvVariables-en.md](docs/EnvVariables-en.md)
- Local development
```shell
npm run dev
```
- Local build
```shell
npm run build
```
### 3. Deployment
#### Deploy automatically with GitHub Actions
For details, see: [GithubActions-en.md](docs/GithubActions-en.md).
#### Manual deployment
Upload the generated `dist/` directory to your server, and configure `NGINX` to point to `index.html`.
## ⚖️ License
The source code in this repository is licensed under the `MIT License`.
Unless otherwise stated, all blog posts and other original non-code content in this repository are licensed under `CC BY-NC-ND 4.0`.