mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 18:01:02 +00:00
Instructions for local development
This commit is contained in:
parent
854d3443d7
commit
9ecb97704a
2 changed files with 12 additions and 2 deletions
12
README.md
12
README.md
|
@ -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
|
||||
|
@ -278,7 +279,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:
|
||||
|
@ -306,6 +307,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
2
Vagrantfile
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue