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 @@ -52,6 +52,7 @@ run:: Followed by:: nix-channel --update + nix-env -i nix-2.0.4 Install required binaries @@ -88,8 +89,8 @@ you have it installed before continuing. To obtain the required sources, use the following commands:: mkdir rhodecode-develop && cd rhodecode-develop - hg clone https://code.rhodecode.com/rhodecode-enterprise-ce - hg clone https://code.rhodecode.com/rhodecode-vcsserver + hg clone -u default https://code.rhodecode.com/rhodecode-enterprise-ce + hg clone -u default https://code.rhodecode.com/rhodecode-vcsserver .. note:: @@ -105,11 +106,15 @@ need to install the following. required libraries:: + # svn related sudo apt-get install libapr1-dev libaprutil1-dev sudo apt-get install libsvn-dev + # libcurl required too + sudo apt-get install libcurl4-openssl-dev + # mysql/pg server for development, optional sudo apt-get install mysql-server libmysqlclient-dev sudo apt-get install postgresql postgresql-contrib libpq-dev - sudo apt-get install libcurl4-openssl-dev + Enter the Development Shell @@ -118,7 +123,7 @@ Enter the Development Shell The final step is to start the development shells. To do this, run the following command from inside the cloned repository:: - #first, the vcsserver + # first, the vcsserver cd ~/rhodecode-vcsserver nix-shell @@ -194,7 +199,7 @@ To use the application's frontend and pr you will need to compile the CSS and JavaScript with Grunt. This is easily done from within the nix-shell using the following command:: - grunt + make web-build When developing new features you will need to recompile following any changes made to the CSS or JavaScript files when developing the code::