From 5cd4f7399bb0a858d76dc4cf9bf6b13d07c2b267 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 6 Dec 2012 00:42:36 +0100 Subject: [PATCH] fixed setup commands to be universally applyable --- developer_manual/tutorial.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/developer_manual/tutorial.rst b/developer_manual/tutorial.rst index d1e4d576e..a18473d7f 100644 --- a/developer_manual/tutorial.rst +++ b/developer_manual/tutorial.rst @@ -12,11 +12,12 @@ To get started you'll need to clone the basic git repositories into your web dir .. code-block:: bash - sudo chmod a+rw /var/www # only do this on your dev machine! + sudo chmod o+rw /var/www cd /var/www git clone https://github.com/owncloud/core.git owncloud git clone https://github.com/owncloud/apps.git apps git clone https://github.com/owncloud/3rdparty.git 3rdparty + sudo chmod o-rw /var/www Now restart your apache server and get ready to set up owncloud at http://localhost/owncloud @@ -45,7 +46,7 @@ To enable your app, simply link it into the apps directory: .. code-block:: bash - ln -s /var/www/apps/yourappname /var/www/owncloud/apps/yourappname + sudo ln -s /var/www/apps/yourappname /var/www/owncloud/apps/yourappname or create a second apps directory in your :file:`/var/www/owncloud/config/config.php` (see :doc:`configfile`)