Skip to content

Commit

Permalink
Merge pull request #1466 from GSA/ckan-ini
Browse files Browse the repository at this point in the history
move some ckan config from .profile to ckan.ini
  • Loading branch information
jbrown-xentity committed Sep 26, 2024
2 parents efe13cd + d3ed2aa commit 70cfa95
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
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

0 comments on commit 70cfa95

Please sign in to comment.