# Blog **Repository Path**: coke-code/Blog ## Basic Information - **Project Name**: Blog - **Description**: A simple blog project. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: http://www.wissbell.com - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-06-30 - **Last Updated**: 2023-07-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 网上邻居博客 简体中文 | [ENGLISH](./README.md) [![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme) 一个简单的博客项目。 本仓库包含以下内容: 1. 自定义错误捕获页 2. `yaml`解析文章信息 3. `markdown`解析. 4. `SEO`相关辅助. ## 内容列表 - [项目背景](#项目背景) - [安装](#安装) - [使用](#使用) - [关联项目](#关联项目) - [维护者](#维护者) - [贡献者](#贡献者) - [使用许可](#使用许可) ## 项目背景 一个程序员想用Next.js和TailwindCSS搭一个博客。 ## 安装 本项目使用 [node](http://nodejs.org) 和 [npm](https://npmjs.com). 使用前确保已经在本地安装. ```sh git clone https://github.com/Coke-Code/Blog.git ``` ## 使用 1. 配置[upstashRedis]用于存储访问量数据,配置`.env`加入变量`UPSTASH_REDIS_REST_URL`和`UPSTASH_REDIS_REST_TOKEN`。 2. **可选**配置[beam](https://beamanalytics.io/),用于统计访问量。配置`.env`加入变量`BEAM_TOKEN`。 npm: ```sh # 开发调试 $ npm run dev # 构建打包 $ npm run build # 本地启动 $ npm run start # 格式化代码 $ npm run lint ``` yarn: ```sh # 开发调试 $ yarn dev # 构建打包 $ yarn build # 本地启动 $ yarn start # 格式化代码 $ yarn lint ``` pnpm: ```sh # 开发调试 $ pnpm dev # 构建打包 $ pnpm build # 本地启动 $ pnpm start # 格式化代码 $ pnpm lint ``` ## 维护者 [@Coke-Code](https://github.com/Coke-Code). ## 如何贡献 非常欢迎你的加入!提一个 [Issue]((https://github.com/Coke-Code/blog/issues/new)) 或者提交一个 Pull Request。 标准 Readme 遵循 [Contributor Covenant](http://contributor-covenant.org/version/1/3/0/) 行为规范。 ### 贡献者 感谢以下参与项目的人: ## 开源协议 [MIT](LICENSE) © coke-code ## 特别鸣谢 [chronark](https://github.com/chronark/chronark.com)