-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6afd56d
commit 5d2a820
Showing
13 changed files
with
14 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,12 @@ MAILTO=cron-!!(*= $site *)[email protected] | |
|
||
# Set the virtualenv and add it to the path so that the correct python is used - | ||
# requires that scripts start with '#!/usr/bin/env python' | ||
# If you are running this with a different location for the virtualenv, you'll | ||
# If you are running this with a different location for the virtualenv, you'll | ||
# need to update both `VIRTUAL_ENV` and `PATH` to reflect this. | ||
VIRTUAL_ENV="/data/vhost/!!(*= $vhost *)!!/pombola-virtualenv" | ||
|
||
# Commonlib now included from the system-wide installation (`/data/mysociety/bin`). | ||
# If you want to use any of our generic scripts (e.g. `output-on-error`) you'll | ||
# If you want to use any of our generic scripts (e.g. `output-on-error`) you'll | ||
# need to clone this repository somewhere and add it to the `PATH`. | ||
PATH=/data/vhost/!!(*= $vhost *)!!/pombola/bin:/data/mysociety/bin:/data/mysociety/commonlib/bin:/data/vhost/!!(*= $vhost *)!!/pombola-virtualenv/bin:/usr/local/bin:/usr/bin:/bin | ||
|
||
|
@@ -55,12 +55,6 @@ PYTHONIOENCODING=utf-8 | |
33 2 * * * !!(*= $user *)!! run_management_command core_export_to_popolo_json /data/vhost/!!(*= $vhost *)!!/media_root/popolo_json/ http://info.mzalendo.com | ||
50 2 * * * !!(*= $user *)!! run_management_command core_export_to_popolo_json --pombola /data/vhost/!!(*= $vhost *)!!/media_root/popolo_json/ http://info.mzalendo.com | ||
|
||
# Check for any recurring data problems: | ||
47 4 * * * !!(*= $user *)!! run_management_command kenya_check_for_recurring_problems | ||
|
||
# Import messages from SMS API | ||
0 * * * * !!(*= $user *)!! output-on-error run_management_command kenya_sms_retrieve_messages | ||
|
||
!!(* } elsif ($vhost eq 'www.shineyoureye.org') { *)!! | ||
23 2 * * * !!(*= $user *)!! run_management_command core_export_to_popolo_json /data/vhost/!!(*= $vhost *)!!/media_root/popolo_json/ http://www.shineyoureye.org | ||
40 2 * * * !!(*= $user *)!! run_management_command core_export_to_popolo_json --pombola /data/vhost/!!(*= $vhost *)!!/media_root/popolo_json/ http://www.shineyoureye.org | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,14 +28,6 @@ GOOGLE_ANALYTICS_ACCOUNT: '' | |
SURVEYGIZMO_API_TOKEN: '' | ||
SURVEYGIZMO_API_SECRET: '' | ||
|
||
# If you're running the experiment with the county performance page | ||
# test for Kenya, then put the experiment key here | ||
COUNTY_PERFORMANCE_EXPERIMENT_KEY: '' | ||
|
||
# If you're running the experiment with the youth employment bill page | ||
# test for Kenya, then put the experiment key here | ||
YOUTH_EMPLOYMENT_BILL_EXPERIMENT_KEY: '' | ||
|
||
# The IEBC API credentials for fetching aspirant data: | ||
IEBC_API_ID: '' | ||
IEBC_API_SECRET: '' | ||
|
@@ -56,10 +48,6 @@ FROM_EMAIL: '[email protected]' | |
# See https://docs.djangoproject.com/en/1.5/ref/settings/#std:setting-ALLOWED_HOSTS | ||
ALLOWED_HOSTS: ['pombola.example.com', 'localhost'] | ||
|
||
# If the local version of pdftohtml is wrong (ie != 0.12.4) - blank means do it | ||
# locally | ||
KENYA_PARSER_PDF_TO_HTML_HOST: '' | ||
|
||
# Where is the selenium server? (If empty then selenium tests can't run) | ||
# download it from here: http://seleniumhq.org/download/ | ||
# Note - need a recent one so that the window resizing has been implemented - | ||
|
@@ -87,7 +75,7 @@ POLLDADDY_WIDGET_ID: '' | |
# from other apps. Note that we also use this setting in a command | ||
# (core_create_parliamentary_sessions) to determine the country that this | ||
# instance of Pombola is set up for. | ||
COUNTRY_APP: kenya | ||
COUNTRY_APP: south_africa | ||
|
||
# ZA Hansard Parsing config (can be left blank on for other instances) | ||
# Username and password for pmg_scraper command | ||
|
@@ -120,10 +108,5 @@ EMAIL_USE_TLS: false | |
# here: | ||
GOOGLE_MAPS_GEOCODING_API_KEY: '' | ||
|
||
# Config for Kenya SMS API | ||
KENYA_SMS_API_URL: 'https://app.bongasms.co.ke/api/fetch-messages' | ||
KENYA_SMS_API_SHORT_CODE: '' | ||
KENYA_SMS_API_KEY: '' | ||
|
||
# Config for Google Site verification | ||
GOOGLE_SITE_VERIFICATION: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters