From 83e893e33af4087c9da6e401a376f346dd023500 Mon Sep 17 00:00:00 2001 From: WireShout Date: Thu, 13 Dec 2012 15:16:10 -0500 Subject: [PATCH] Changing to code-block --- developer_manual/guidelines.rst | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/developer_manual/guidelines.rst b/developer_manual/guidelines.rst index c00058850..704192ca4 100644 --- a/developer_manual/guidelines.rst +++ b/developer_manual/guidelines.rst @@ -18,18 +18,28 @@ Set up your development environment #. Install git, for example by: ``sudo apt-get install git`` #. The following folder structure is suggested: - ``/path/to/webserver/owncloud - core repo`` - ``/path/to/webserver/apps - apps repo`` - ``/path/to/webserver/3rdparty - 3rdparty repo`` + + .. code-block:: bash + + /path/to/webserver/owncloud - core repo + /path/to/webserver/apps - apps repo + /path/to/webserver/3rdparty - 3rdparty repo - Open a terminal and: - ``cd /path/to/webserver`` - ``git clone https://github.com/owncloud/core ./owncloud`` - ``git clone https://github.com/owncloud/apps`` - ``git clone https://github.com/owncloud/3rdparty`` + + .. code-block:: bash + + cd /path/to/webserver + git clone https://github.com/owncloud/core ./owncloud + git clone https://github.com/owncloud/apps + git clone https://github.com/owncloud/3rdparty + - ownCloud will automatically detect the 3rdparty folder if it's either in /path/to/webserver/owncloud or in /path/to/webserver/. #. If you want to use an app from the app repository, you have to `setup multiple app directories`_ or symlink each app like e.g. - ``ln -s /path/to/webserver/apps/news /path/to/webserver/owncloud/apps/news`` + + .. code-block:: bash + + ln -s /path/to/webserver/apps/news /path/to/webserver/owncloud/apps/news #. `Install ownCloud`_ #. Dive into the code! @@ -91,4 +101,4 @@ Coding guidelines .. _which might be dismissed: http://www.alistapart.com/articles/neveruseawarning/ .. _usability testing: http://jancborchardt.net/usability-in-free-software .. _Alex Faaborg from Mozilla: http://uxmag.com/articles/quantifying-usability -.. _Install ownCloud: https://github.com/owncloud/core/issues +.. _Install ownCloud: https://github.com/owncloud/core/issues