jaywcjlove / jaywcjlove/linux-command

欢迎大家部署镜像网站,网站我将放置在仓库 README 和 贡献页面

Open
#649 51 comments 0 reactions 0 assignees View on GitHub
Dominant language
Markdown
Stars
36.9k
Forks
6.6k
PR merge metrics
No merged PRs in 30d

Description

## 快捷部署方法

### 方法一,只需要克隆 gh-pages 分支代码到你的静态服务就可以了

```shell
$ git clone https://github.com/jaywcjlove/linux-command.git -b gh-pages
```

你可以使用 [gitee](https://gitee.com/jaywcjlove/linux-command.git) 镜像仓库获取最新的代码

```shell
$ git clone https://gitee.com/jaywcjlove/linux-command.git -b gh-pages
```

### 方法二,使用 [docker](https://hub.docker.com/r/wcjiang/linux-command) 快捷部署 web 版

[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/wcjiang/linux-command?logo=docker)](https://hub.docker.com/r/wcjiang/linux-command) [![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/wcjiang/linux-command?logo=docker)](https://hub.docker.com/r/wcjiang/linux-command) [![Docker Pulls](https://img.shields.io/docker/pulls/wcjiang/linux-command?logo=docker)](https://hub.docker.com/r/wcjiang/linux-command)

```shell
$ docker pull wcjiang/linux-command

$ docker run --name linux-command --rm -d -p 9665:3000 wcjiang/linux-command:latest
# Or
$ docker run --name linux-command -itd -p 9665:3000 wcjiang/linux-command:latest
```

## 添加镜像网站

你可以在项目仓库和网站上添加你部署的镜像链接,这不仅有助于提升你网站的权重,还能加快搜索引擎的抓取和收录速度。

https://github.com/jaywcjlove/linux-command/blob/400530b74a00e2953ce4232bc04e9756bc6c64cf/README.md?plain=1#L71-L81

https://github.com/jaywcjlove/linux-command/blob/400530b74a00e2953ce4232bc04e9756bc6c64cf/template/contributors.ejs#L194-L200

Contributor guide

Open the contributing guide

Research direction

Start with the referenced README.md lines 71-81 and template/contributors.ejs lines 194-200 to understand where mirror links belong. Choose one of the documented gh-pages or Docker deployment methods, then add the deployed site link in both locations and verify that it is reachable and correctly displayed.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, git, markdown
Domain
devops, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.