ENGLISH | 简体中文
A simple blog project.
This repository contains:
- Custom error capture page
yaml
parse article informationmarkdown
parse.SEO
related auxiliary.
A programmer wants to build a blog with Next.js and TailwindCSS.
This project uses node and npm. Go check them out if you don't have them locally installed.
git clone https://github.com/Coke-Code/Blog.git
- Configure upstashRedis to store access volume data, configure
.env
to add variablesUPSTASH_REDIS_REST_URL
andUPSTASH_REDIS_REST_TOKEN
. - Optional Configure beam to count access volume. Configure
.env
to add variablesBEAM_TOKEN
.
npm:
# Development debugging
$ npm run dev
# Build package
$ npm run build
# Local start
$ npm run start
# Format code
$ npm run lint
yarn:
# Development debugging
$ yarn dev
# Build package
$ yarn build
# Local start
$ yarn start
# Format code
$ yarn lint
pnpm:
# Development debugging
$ pnpm dev
# Build package
$ pnpm build
# Local start
$ pnpm start
# Format code
$ pnpm lint
Feel free to dive in! Open an issue or submit PRs.
Standard Readme follows the Contributor Covenant Code of Conduct.
This project exists thanks to all the people who contribute.
MIT © Coke-Code