insight 配置

Posted on 2016-04-21(星期四) 00:00 in edx


insight配置

insight的主要配置文件如下:

/edx/etc/下面

  • analytics_api.yml

  • insight.yml

    CMS_COURSE_SHORTCUT_BASE_URL: http://www.edx.com/course

    COURSE_API_URL: http://www.edx.com/api/course_structure/v0/

    MODULE_PREVIEW_URL: http://www.edx.com/xblock

    SOCIAL_AUTH_EDX_OIDC_URL_ROOT: http://www.edx.com/oauth2

  • edx-analytics-pipeline/input.json //这里设置成LMS机器上的数据库信息

    {"username": "localhost", "host": "localhost", "password": "password", "port": 3306}

  • edx-analytics-pipeline/output.json

    {"username": "pipeline001", "host": "localhost", "password": "password","port":3306}

  • /var/lib/analytics-tasks/analyticstack/repo/override.cfg

~/edx-analytic-pipline/config/下面

  • devstack.cfg

  • local.cfg

  • test.cfg