aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source
diff options
context:
space:
mode:
authorJim Campbell <jcampbell@gnome.org>2015-05-26 00:40:24 -0500
committerJim Campbell <jcampbell@gnome.org>2015-05-26 00:44:10 -0500
commitb791ae973c816f2262fb7c6efa9444c75637150d (patch)
tree63df89679f660bd1e823a4b854e6514d20ccc715 /docs/source
parent5b8e0b2a63194d53da2ce434e867fc5eab1b60b4 (diff)
downloadmediagoblin-b791ae973c816f2262fb7c6efa9444c75637150d.tar.lz
mediagoblin-b791ae973c816f2262fb7c6efa9444c75637150d.tar.xz
mediagoblin-b791ae973c816f2262fb7c6efa9444c75637150d.zip
docs: Added handling of user_dev permissions
The user_dev directory gets created when users get established and they start uploading media. However, the permissions aren't correct on the directory as it gets created. As a workaround, we create the directory at this stage, and then set the proper permissions. See this mailing list post for more information: http://lists.mediagoblin.org/pipermail/devel/2015-May/001201.html
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/siteadmin/deploying.rst17
1 files changed, 11 insertions, 6 deletions
diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst
index 13429fc4..673efb30 100644
--- a/docs/source/siteadmin/deploying.rst
+++ b/docs/source/siteadmin/deploying.rst
@@ -246,6 +246,16 @@ Set up the hacking environment::
$ ./bootstrap.sh && ./configure && make
+Create and set the proper permissions on the ``user_dev`` directory.
+This directory will be used to store uploaded media files::
+
+ $ mkdir user_dev && chmod 750 user_dev
+
+Assuming you are going to deploy with FastCGI, you should also install
+flup::
+
+ $ ./bin/easy_install flup
+
The above provides an in-package install of ``virtualenv``. While this
is counter to the conventional ``virtualenv`` configuration, it is
more reliable and considerably easier to configure and illustrate. If
@@ -270,12 +280,7 @@ your preferred method.
but note that no ``./bin/python`` will be set up for you via this
method, since no virtualenv is set up for you!)
-Assuming you are going to deploy with FastCGI, you should also install
-flup::
-
- $ ./bin/easy_install flup
-
-This concludes the initial configuration of the development
+This concludes the initial configuration of the MediaGoblin
environment. In the future, when you update your
codebase, you should also run::