From ecfe0598311a458b7399fde9b52a126e339a8ff7 Mon Sep 17 00:00:00 2001 From: Ross Jones Date: Thu, 19 Jan 2012 12:23:08 +0000 Subject: [PATCH] Added configuration settings for storage --- doc/configuration.rst | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/doc/configuration.rst b/doc/configuration.rst index b69c91b02b4..0d3642a2440 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -131,6 +131,8 @@ And there is an option for the default expiry time if not specified:: ckan.cache.default_expires = 600 + + Authentication Settings ----------------------- @@ -206,6 +208,35 @@ Default value: (none) If you want to specify the ordering of all or some of the locales as they are offered to the user, then specify them here in the required order. Any locales that are available but not specified in this option, will still be offered at the end of the list. +Storage Settings +---------------- + +.. index:: + single: storage.bucket, storage.directory + +storage.bucket +^^^^^^^^^^^^^^ + +Example:: + + storage.bucket = ckan + +Default value: ``None`` + +This setting will change the bucket name for the uploaded files. + +storage.directory +^^^^^^^^^^^^^^^^^ + +Example:: + + storage.directory = /data/uploads/ + +Default value: ``None`` + +Use this to specify where uploaded files should be stored, and also to turn on the handling of file storage. The folder should exist, and will automatically be turned into a valid pairtree repository if it is not already. + + Theming Settings ----------------