Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move some ckan config from .profile to ckan.ini #1466

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .profile
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,6 @@ export CKANEXT__S3SITEMAP__AWS_BUCKET_NAME=$(vcap_get_service s3 .credentials.bu
export CKANEXT__S3SITEMAP__AWS_STORAGE_PATH=catalog/sitemap
export CKANEXT__S3SITEMAP__ENDPOINT_URL=https://$(vcap_get_service s3 .credentials.endpoint)

# Disable this in favor of CKANEXT__DATAGOVTHEME__JS_RECENT_VIEW
export CKANEXT__DATAGOVCATALOG__ADD_PACKAGES_TRACKING_INFO=false

# Render recent view using AJAX call to boost page loading speed
export CKANEXT__DATAGOVTHEME__JS_RECENT_VIEW=true

# Max number of resources to be allowed in a dataset to be harvested
export CKANEXT__DATAJSON__MAX_RESOURCE_COUNT=1500

# Set up the collection in Solr
echo Setting up Solr collection
export SOLR_COLLECTION=ckan
Expand Down
9 changes: 9 additions & 0 deletions ckan/setup/ckan.ini
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,15 @@ ckan.jobs.timeout = 180

ckan.tracking_enabled = True

# Disable this in favor of CKANEXT__DATAGOVTHEME__JS_RECENT_VIEW
ckanext.datagovcatalog.add_packages_tracking_info = false

# Render recent view using AJAX call to boost page loading speed
ckanext.datagovtheme.js_recent_view = true

# Max number of resources to be allowed in a dataset to be harvested
ckanext.datajson.max_resource_count = 800

## Spatial settings
ckanext.spatial.search_backend = solr-bbox
# Customize map widget
Expand Down