mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02:00
Merge pull request #205 from kirs/development-manual
Instructions for local development
This commit is contained in:
commit
fb49a2c6e9
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
|
||||
@ -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
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 New Issue
Block a user