mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +00:00
specify drone 0.4 in docs
This commit is contained in:
parent
e22d96765e
commit
7ed0b393a6
2 changed files with 11 additions and 4 deletions
7
Makefile
7
Makefile
|
@ -53,6 +53,7 @@ vendor:
|
|||
|
||||
docs:
|
||||
mkdir -p /drone/tmp/docs
|
||||
cp -a static/docs_gen/* /drone/tmp/docs/
|
||||
cp -a static/styles_gen /drone/tmp/docs/
|
||||
cp -a static/images /drone/tmp/docs/
|
||||
cp -a static/docs_gen/* /drone/tmp/docs/
|
||||
cp -a static/scripts_gen /drone/tmp/
|
||||
cp -a static/styles_gen /drone/tmp/
|
||||
cp -a static/images /drone/tmp/
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
To quickly tryout Drone we have a [Docker image](https://registry.hub.docker.com/u/drone/drone/) that includes everything you need to get started. Simply run the commend below:
|
||||
|
||||
```
|
||||
sudo docker pull drone/drone:0.4
|
||||
```
|
||||
|
||||
And then run the container:
|
||||
|
||||
```
|
||||
sudo docker run \
|
||||
--volume /var/lib/drone:/var/lib/drone \
|
||||
|
@ -11,7 +17,7 @@ sudo docker run \
|
|||
--publish=80:8000 \
|
||||
--detach=true \
|
||||
--name=drone \
|
||||
drone/drone
|
||||
drone/drone:0.4
|
||||
```
|
||||
|
||||
Drone is now running (in the background) on `http://localhost:80`. Note that before running you should create the `--env-file` and add your Drone configuration (GitHub, Bitbucket, GitLab credentials, etc).
|
||||
|
|
Loading…
Reference in a new issue