Changing to code-block

This commit is contained in:
WireShout
2012-12-13 15:16:10 -05:00
parent f91ed75ecf
commit 83e893e33a

View File

@@ -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