Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

itlemon/CodingGuide

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

389 Commits
389 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodingGuide

CodingGuide

CodingGuide

使用教程

基础环境要求:Node.js v14.18.0+

第一步:克隆项目

git clone git@github.com:itlemon/CodingGuide.git

第二步:安装依赖

yarn install

第三步:本地热部署

yarn docs:dev

访问: http://localhost:4000 可以看到本地部署的博客,支持动态修改更新。

第四步:服务器部署

  • Linux

使用部署脚本可以完成一键github拉取、打包、部署:

./deploy.sh

Linux 或者 macOS 还可以使用命令:

git pull
yarn install
nohup yarn docs:dev &
  • Windows

Windows用户请使用命令:

git pull
yarn install
start yarn docs:dev &

服务器部署方式默认端口是4000,需要注意的是,使用脚本部署或者nohupstart来部署,都是后台启动,重新启动的时候需要kill原有的进程,才能生效。

版权许可

License MIT

About

Java编码指南

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.