Skip to content

Commit 81da248

Browse files
committed
docs: update readme.
1 parent 9807e5c commit 81da248

File tree

2 files changed

+74
-63
lines changed

2 files changed

+74
-63
lines changed

0.8.x/README.md

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
## Install from Binary
2+
3+
Separate server and agent binaries and images for [0.8.x](http://docs.drone.io/release-0.8.0)
4+
5+
```sh
6+
#
7+
# install dependencies
8+
#
9+
10+
go get -u github.com/drone/drone-ui/dist
11+
go get -u golang.org/x/net/context
12+
go get -u golang.org/x/net/context/ctxhttp
13+
go get -u github.com/golang/protobuf/proto
14+
go get -u github.com/golang/protobuf/protoc-gen-go
15+
16+
#
17+
# install binaries to $GOPATH/bin
18+
#
19+
20+
go install github.com/drone/drone/cmd/drone-agent
21+
go install github.com/drone/drone/cmd/drone-server
22+
```
23+
24+
## Install from Docker
25+
26+
Please make sure that you are already install [docker-compose](https://docs.docker.com/compose/install/) tool.
27+
28+
```yml
29+
version: '2'
30+
31+
services:
32+
drone-server:
33+
image: drone/drone:0.8
34+
ports:
35+
- 80:8000
36+
- 9000:9000
37+
volumes:
38+
- /var/lib/drone:/var/lib/drone/
39+
restart: always
40+
environment:
41+
- DRONE_HOST=http://drone.example.com
42+
- DRONE_OPEN=true
43+
- DRONE_GITHUB=true
44+
- DRONE_GITHUB_CLIENT=${DRONE_GITHUB_CLIENT}
45+
- DRONE_GITHUB_SECRET=${DRONE_GITHUB_SECRET}
46+
- DRONE_SECRET=${DRONE_SECRET}
47+
48+
drone-agent:
49+
image: drone/agent:0.8
50+
restart: always
51+
depends_on:
52+
- drone-server
53+
volumes:
54+
- /var/run/docker.sock:/var/run/docker.sock
55+
environment:
56+
- DRONE_SERVER=drone-server:9000
57+
- DRONE_SECRET=${DRONE_SECRET}
58+
```
59+
60+
## Drone Installation
61+
62+
* [Installation with GitHub][1]
63+
* [Installation with GitLab][2]
64+
* [Installation with BitBucket][3]
65+
* [Drone on Kubernetes on AWS][4]
66+
67+
[1]:./installation/install-with-github.md
68+
[2]:./installation/install-with-gitlab.md
69+
[3]:./installation/install-with-bitbucket.md
70+
[4]:https://github.com/appleboy/drone-on-kubernetes/tree/master/aws

README.md

+4-63
Original file line numberDiff line numberDiff line change
@@ -2,70 +2,11 @@
22

33
Drone Continuous Delivery Documentation
44

5-
## Install from Binary
5+
## Git Service Configutation
66

7-
Separate server and agent binaries and images for [0.8.x](http://docs.drone.io/release-0.8.0)
8-
9-
```sh
10-
#
11-
# install dependencies
12-
#
13-
14-
go get -u github.com/drone/drone-ui/dist
15-
go get -u golang.org/x/net/context
16-
go get -u golang.org/x/net/context/ctxhttp
17-
go get -u github.com/golang/protobuf/proto
18-
go get -u github.com/golang/protobuf/protoc-gen-go
19-
20-
#
21-
# install binaries to $GOPATH/bin
22-
#
23-
24-
go install github.com/drone/drone/cmd/drone-agent
25-
go install github.com/drone/drone/cmd/drone-server
26-
```
27-
28-
## Install from Docker
29-
30-
Please make sure that you are already install [docker-compose](https://docs.docker.com/compose/install/) tool.
31-
32-
```yml
33-
version: '2'
34-
35-
services:
36-
drone-server:
37-
image: drone/drone:0.8
38-
ports:
39-
- 80:8000
40-
- 9000:9000
41-
volumes:
42-
- /var/lib/drone:/var/lib/drone/
43-
restart: always
44-
environment:
45-
- DRONE_HOST=http://drone.example.com
46-
- DRONE_OPEN=true
47-
- DRONE_GITHUB=true
48-
- DRONE_GITHUB_CLIENT=${DRONE_GITHUB_CLIENT}
49-
- DRONE_GITHUB_SECRET=${DRONE_GITHUB_SECRET}
50-
- DRONE_SECRET=${DRONE_SECRET}
51-
52-
drone-agent:
53-
image: drone/agent:0.8
54-
restart: always
55-
depends_on:
56-
- drone-server
57-
volumes:
58-
- /var/run/docker.sock:/var/run/docker.sock
59-
environment:
60-
- DRONE_SERVER=drone-server:9000
61-
- DRONE_SECRET=${DRONE_SECRET}
62-
```
63-
64-
## Drone Installation
65-
66-
* [Installation with GitHub][1]
67-
* [Installation with GitLab][2]
68-
* [Installation with BitBucket][3]
7+
* [Configutation with GitHub][1]
8+
* [Configutation with GitLab][2]
9+
* [Configutation with BitBucket][3]
6910
* [Drone on Kubernetes on AWS][4]
7011

7112
[1]:./installation/install-with-github.md

0 commit comments

Comments
 (0)