Skip to content

Commit

Permalink
Enabling Superdesk Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanJelicSF committed Jul 17, 2024
1 parent 8a0958b commit 3e36ccc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions client/superdesk.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ module.exports = function(grunt) {
return {
apps: [
'superdesk-publisher',
'superdesk.analytics'
],
importApps: [
'superdesk-publisher',
'superdesk-analytics'
],
defaultRoute: '/workspace/personal',
validatorMediaMetadata: {
Expand Down
10 changes: 9 additions & 1 deletion server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def env(variable, fallback_value=None):
INIT_DATA_PATH = init_data

INSTALLED_APPS = [
"apps.languages"
"apps.languages",
"analytics"
]

RENDITIONS = {
Expand Down Expand Up @@ -106,3 +107,10 @@ def env(variable, fallback_value=None):

PUBLISH_QUEUE_EXPIRY_MINUTES = 60 * 24 * 15 # 15d
KEYWORDS_ADD_MISSING_ON_PUBLISH=True

ANALYTICS_ENABLE_SCHEDULED_REPORTS = strtobool(
env("ANALYTICS_ENABLE_SCHEDULED_REPORTS", "true")
)
ANALYTICS_ENABLE_ARCHIVE_STATS = strtobool(
env("ANALYTICS_ENABLE_ARCHIVE_STATS", "true")
)

0 comments on commit 3e36ccc

Please sign in to comment.