Skip to content

Commit

Permalink
[#1273] change template.ini and fix more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly committed Nov 13, 2013
1 parent 35acb45 commit 4629b41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 37 deletions.
25 changes: 3 additions & 22 deletions ckan/config/deployment.ini_tmpl
Expand Up @@ -121,28 +121,9 @@ ckan.feeds.author_link =

## Storage Settings

# Local file storage:
#ofs.impl = pairtree
#ofs.storage_dir = /var/lib/ckan/default

# Google cloud storage:
#ofs.impl = google
#ofs.gs_access_key_id =
#ofs.gs_secret_access_key =

# S3 cloud storage:
#ofs.impl = s3
#ofs.aws_access_key_id = ....
#ofs.aws_secret_access_key = ....

# 'Bucket' to use for file storage
#ckan.storage.bucket = default

# Prefix for uploaded files (only used for pairtree)
#ckan.storage.key_prefix = file/

# The maximum content size, in bytes, for uploads
#ckan.storage.max_content_length = 50000000
#ckan.storage_path = /var/lib/ckan
#ckan.max_resource_size = 10
#ckan.max_image_size = 2

## Datapusher settings

Expand Down
20 changes: 5 additions & 15 deletions doc/configuration.rst
Expand Up @@ -983,6 +983,8 @@ Default value: ``None``

This defines the location of where CKAN will store all uploaded data.

.. _ckan.max_resource_size:

ckan.max_resource_size
^^^^^^^^^^^^^^^^^^^^^^

Expand All @@ -993,6 +995,8 @@ Default value: ``10``

The maximum in megabytes a resources upload can be.

.. _ckan.max_image_size:

ckan.max_image_size
^^^^^^^^^^^^^^^^^^^^

Expand All @@ -1003,20 +1007,6 @@ Default value: ``2``

The maximum in megabytes an image upload can be.

.. _ckan.storage.bucket:

ckan.storage.max_content_length
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Example::

ckan.storage.max_content_length = 500000

Default value: ``50000000``

This defines the maximum content size, in bytes, for uploads.
Depricated, please use ckan.max_resource_size_instead

.. _ofs.impl:

ofs.impl
Expand Down Expand Up @@ -1046,7 +1036,7 @@ Default value: ``None``

Only used with the local storage backend. 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.

Depricated, please use ckan.storage_path
Depricated, please use ckan.storage_path.



Expand Down

0 comments on commit 4629b41

Please sign in to comment.