Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #876 from yuxiaobo96/Dragonfly-fix6
Browse files Browse the repository at this point in the history
Modify the Chinese punctuation mark to the English punctuation mark
  • Loading branch information
allencloud committed Sep 3, 2019
2 parents af4bea9 + 3fd6f8c commit 7eebe77
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Here are some dependents with specific version:
* shellCheck : latest
* docker: latest

When you develop the Dragonfly project at the local environment, you should use subcommands of Makefile to help yourself to check and build the latest version of Dragonfly. For the convenience of developers we use the docker to build Dragonfly. It can reduce problems of the developing environment.
When you develop the Dragonfly project at the local environment, you should use subcommands of Makefile to help yourself to check and build the latest version of Dragonfly. For the convenience of developers, we use the docker to build Dragonfly. It can reduce problems of the developing environment.

### Golang Dependency Management

Expand Down
2 changes: 1 addition & 1 deletion cmd/supernode/app/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
)

// versionDescription is used to describe version command in detail and auto generate command doc.
var versionDescription = "Display the version and build information of Dragonfly supernode " +
var versionDescription = "Display the version and build information of Dragonfly supernode, " +
"including GoVersion, OS, Arch, Version, BuildDate and GitCommit."

var versionCmd = &cobra.Command{
Expand Down
8 changes: 4 additions & 4 deletions docs/quick_start/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ All steps in this document are done on the same machine using the docker contain
docker run -d --name supernode --restart=always -p 8001:8001 -p 8002:8002 -v /home/admin/supernode:/home/admin/supernode dragonflyoss/supernode:0.4.3
```

## Step 2Deploy Dragonfly Client (dfclient)
## Step 2: Deploy Dragonfly Client (dfclient)

```bash
SUPERNODE_IP=`docker inspect supernode -f '{{.NetworkSettings.Networks.bridge.IPAddress}}'`
Expand All @@ -40,13 +40,13 @@ We need to modify the Docker Daemon configuration to use the Dragonfly as a pull

**Tip:** For more information on `/etc/docker/daemon.json`, see [Docker documentation](https://docs.docker.com/registry/recipes/mirror/#configure-the-cache).

2. Restart Docker Daemon
2. Restart Docker Daemon.

```bash
systemctl restart docker
```

## Step 4Pull images with Dragonfly
## Step 4: Pull images with Dragonfly

Through the above steps, we can start to validate if Dragonfly works as expected.

Expand All @@ -56,7 +56,7 @@ And you can pull the image as usual, for example:
docker pull nginx:latest
```

## Step 5Validate Dragonfly
## Step 5: Validate Dragonfly

You can execute the following command to check if the nginx image is distributed via Dragonfly.

Expand Down
8 changes: 4 additions & 4 deletions docs/user_guide/multi_machines_deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Deploy the Dragonfly server (Supernode) on the machine `dfsupernode`.
docker run -d --name supernode --restart=always -p 8001:8001 -p 8002:8002 -v /home/admin/supernode:/home/admin/supernode dragonflyoss/supernode:0.4.3 --download-port=8001
```

## Step 2Deploy Dragonfly Client (dfclient)
## Step 2: Deploy Dragonfly Client (dfclient)

The following operations should be performed both on the client machine `dfclient0`, `dfclient1`.

Expand Down Expand Up @@ -70,13 +70,13 @@ We need to modify the Docker Daemon configuration to use the Dragonfly as a pull

**Tip:** For more information on `/etc/docker/daemon.json`, see [Docker documentation](https://docs.docker.com/registry/recipes/mirror/#configure-the-cache).

2. Restart Docker Daemon
2. Restart Docker Daemon.

```bash
systemctl restart docker
```

## Step 4Pull images with Dragonfly
## Step 4: Pull images with Dragonfly

Through the above steps, we can start to validate if Dragonfly works as expected.

Expand All @@ -86,7 +86,7 @@ And you can pull the image as usual on either `dfclient0` or `dfclient1`, for ex
docker pull nginx:latest
```

## Step 5Validate Dragonfly
## Step 5: Validate Dragonfly

You can execute the following command to check if the nginx image is distributed via Dragonfly.

Expand Down
2 changes: 1 addition & 1 deletion test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ GOROOT=/usr/local/go
GOPATH=/go
```

Then copy or clone Dragonfly source code to the GOPATH
Then copy or clone Dragonfly source code to the GOPATH:

``` shell
# pwd
Expand Down

0 comments on commit 7eebe77

Please sign in to comment.