2014-08-12 18:43:49 +00:00
[![Build Status ](http://beta.drone.io/github.com/drone/drone/status.svg?branch=exp )](http://beta.drone.io/github.com/drone/drone?branch=exp)
[![GoDoc ](https://godoc.org/github.com/drone/drone?status.png )](https://godoc.org/github.com/drone/drone)
2014-07-14 02:53:59 +00:00
2014-02-07 10:10:01 +00:00
2014-08-02 18:21:39 +00:00
## System Requirements
2014-02-13 22:43:02 +00:00
2014-08-02 18:21:39 +00:00
* Docker
* AUFS
We highly recommend running Docker with the AUFS storage driver. You can verify Docker is using
the AUFS storage driver with the following command `sudo docker info | grep Driver:`
## Installation
We have optimized the installation process for Ubuntu since that is what we test with internally. You can run the following commands to quickly download an install Drone on an Ubuntu machine.
```sh
wget downloads.drone.io/exp/drone.deb
sudo dpkg -i drone.deb
```
2014-09-03 07:23:36 +00:00
## Setup
2014-08-02 18:21:39 +00:00
2014-09-03 07:23:36 +00:00
We are in the process of moving configuration out of the UI and into configuration
files and/or environment variables (your choice which). If you prefer configuration files
you can provide Drone with the path to your configuration file:
2014-03-08 22:22:49 +00:00
2014-09-03 07:23:36 +00:00
```sh
./drone --config=/path/to/drone.conf
```
2014-08-02 18:21:39 +00:00
2014-09-03 07:23:36 +00:00
The configuration file is in TOML format:
```toml
[github]
client=""
secret=""
[github_enterprise]
client=""
secret=""
api=""
url=""
[bitbucket]
client=""
secret=""
2014-09-04 03:48:13 +00:00
[gitlab]
url=""
2014-09-03 07:23:36 +00:00
[smtp]
host=""
port=""
from=""
user=""
pass=""
```
2014-08-02 18:21:39 +00:00
2014-09-03 07:23:36 +00:00
Or you can use environment variables
2014-02-07 10:10:01 +00:00
2014-09-03 07:23:36 +00:00
```sh
# github configuration
export DRONE_GITHUB_CLIENT=""
2014-09-04 03:48:13 +00:00
export DRONE_GITHUB_SECRET=""
2014-09-03 07:23:36 +00:00
# github enterprise configuration
export DRONE_GITHUB_ENTERPRISE_CLIENT=""
export DRONE_GITHUB_ENTERPRISE_SECRET=""
export DRONE_GITHUB_ENTERPRISE_API=""
export DRONE_GITHUB_ENTERPRISE_URL=""
# bitbucket configuration
export DRONE_BITBUCKET_CLIENT=""
export DRONE_BITBUCKET_SECRET=""
2014-09-04 03:48:13 +00:00
# gitlab configuration
export DRONE_GITLAB_URL=""
2014-09-03 07:23:36 +00:00
# email configuration
export DRONE_SMTP_HOST=""
export DRONE_SMTP_PORT=""
export DRONE_SMTP_FROM=""
export DRONE_SMTP_USER=""
export DRONE_SMTP_PASS=""
```
2014-08-02 18:22:49 +00:00
2014-09-04 03:48:13 +00:00
Or a combination of the two:
```sh
DRONE_GITLAB_URL="https://gitlab.com" ./drone --config=/path/to/drone.conf
```
2014-09-03 07:23:36 +00:00
## Compatibility Issues
2014-08-02 18:22:49 +00:00
2014-09-03 07:23:36 +00:00
**WARNING**
2014-08-02 18:22:49 +00:00
2014-09-03 07:23:36 +00:00
There were some fundamental changes to the application and we decided to introduce breaking changes to the dataabase. Migration would have been difficult and time consuming. Drone is an alpha product and therefore backward compatibility is not a primary goal until we hit a stable release. Apologizes for any inconvenience.