Merge pull request #205 from kirs/development-manual

Instructions for local development
This commit is contained in:
Brad Rydzewski 2014-03-23 15:49:05 -07:00
commit fb49a2c6e9
2 changed files with 12 additions and 2 deletions

View file

@ -26,6 +26,7 @@ Interested in contributing? Great! Please read our [contributor guidelines](http
* [Database Services](#databases)
* [Caching](#caching)
* [Params Injection](#params-injection)
* [Local development](#local-development)
* [Documentation and References](#docs)
### System
@ -279,7 +280,7 @@ decrease overall build time. Examples include your `.npm`, `.m2`, `bundler`, etc
```
cache:
- /usr/local/bin/go/pkg
- /usr/local/bin/go/pkg
```
This will cache the directory relative to the root directory of your repository:
@ -307,6 +308,15 @@ notify:
![params-injection](https://f.cloud.github.com/assets/1583973/2161187/2905077e-94c3-11e3-8499-a3844682c8af.png)
### Local development
Local Drone setup for development is pretty straightforward.
You will need to clone the repo, install Vagrant and run `vagrant up`.
This command will download base Ubuntu image, setup the virtual machine and build Drone.
Afterwards, you will need to [install Docker in this VM manually](http://docs.docker.io/en/latest/installation/ubuntulinux/).
### Docs
* [drone.readthedocs.org](http://drone.readthedocs.org/) (Coming Soon)

2
Vagrantfile vendored
View file

@ -14,7 +14,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# FIXME: Maybe this is enough
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--memory", "1024"]
v.customize ["modifyvm", :id, "--memory", "2048"]
end
# Drone by default runs on port 80. Forward from host to guest