Skip to content

[DEV] Send weekly surveys for Work Periods #445

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

Merged
merged 6 commits into from
Aug 4, 2021

Conversation

maxceem
Copy link
Contributor

@maxceem maxceem commented Aug 4, 2021

DEV Deployment Guide

Merge PR for ES Processor topcoder-platform/taas-es-processor#91

  1. Define ENV variables:

    WEEKLY_SURVEY_CRON="0 */1 * * *"    # run every hour for QA
    WEEKLY_SURVEY_BASE_URL="https://api.surveymonkey.net/v3/surveys"
    WEEKLY_SURVEY_SURVEY_COLLECTOR_PREFIX="[DEV] Week Ending"
        
    WEEKLY_SURVEY_JWT_TOKEN 
    WEEKLY_SURVEY_SURVEY_ID
    WEEKLY_SURVEY_SURVEY_MASTER_COLLECTOR_ID
    WEEKLY_SURVEY_SURVEY_MASTER_MESSAGE_ID
    WEEKLY_SURVEY_SURVEY_CONTACT_GROUP_ID
    
  2. Run migration: npm run migrate

    • migrations/2021-07-26-add-send-weekly-survery-fields.js
  3. Reindex RB with WP and WPP: npm run index:resource-bookings

@nkumar-topcoder nkumar-topcoder merged commit 1057409 into dev Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants