From 9ecb97704a16508506b610efd8c597bf45ba6bdc Mon Sep 17 00:00:00 2001 From: Kir Shatrov Date: Thu, 20 Mar 2014 17:38:49 +0400 Subject: [PATCH] Instructions for local development --- README.md | 12 +++++++++++- Vagrantfile | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76939f094..775541f4c 100644 --- a/README.md +++ b/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) diff --git a/Vagrantfile b/Vagrantfile index e6ff401e1..fd84af6ab 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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