# HG changeset patch # User Marcin Kuzminski # Date 2017-03-16 17:00:39 # Node ID 28961a837aa9062ca5953d7865faefdad17c5ddb # Parent ee32994811482c674811792b4e32b854ac5dbce0 docs: dev-setup add info about config.nix required for tests. diff --git a/docs/contributing/dev-setup.rst b/docs/contributing/dev-setup.rst --- a/docs/contributing/dev-setup.rst +++ b/docs/contributing/dev-setup.rst @@ -114,6 +114,30 @@ following command from inside the cloned fine on both MacOS and Linux platforms. +Create config.nix for development +--------------------------------- + +In order to run proper tests and setup linking across projects, a config.nix +file needs to be setup:: + + # create config + mkdir -p ~/.nixpkgs + touch ~/.nixpkgs/config.nix + + # put the below content into the ~/.nixpkgs/config.nix file + # adjusts, the path to where you cloned your repositories. + + { + rc = { + sources = { + rhodecode-vcsserver = "/home/dev/rhodecode-vcsserver"; + rhodecode-enterprise-ce = "/home/dev/rhodecode-enterprise-ce"; + rhodecode-enterprise-ee = "/home/dev/rhodecode-enterprise-ee"; + }; + }; + } + + Creating a Development Configuration ------------------------------------