Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.52 KB

FLIGHT_RULES.md

File metadata and controls

26 lines (23 loc) · 1.52 KB
  1. Upgrade servers to t2.2xlarge: update terraform production config and run onespot server launch --target=production
  2. Update requirements: onespot server update --target=production
  3. Bootstrap zeroes: onespot election init 2018-11-06 --target=production
  4. Make changes to the following in the admin
    1. Bernie Sanders (VT), Angus King (ME), Bill Walker (AK-gov), Gary Johnson (NM-gov) should not be agreggable candidates
    2. Alyse Galvin (AK-AL) is a Democrat
  5. Bake context: fab production django.management:bake_elections 2018-11-06
  6. Test results processes:
    1. Run onespot election start 2018-11-06
    2. On east server, check /var/log/politico-civic/state_results.log and /var/log/politico-civic/reup.log
    3. On west server, check /var/log/politico-civic/county-results.log
    4. If all is well, make sure pages work

Local

NOTE: I would set your ELECTIONNIGHT_AWS_S3_BUCKET to staging, just in case any signals fire and deploy incomplete data to prod.

  1. Drop local database, recreate and migrate
  2. python manage.py bootstrap_electionnight
  3. Go into the database and change South Dakota's Shannon County, which is fips code 46113, to Oglala Lakota County. Make the fips code 46102. Ugh.
  4. python manage.py initialize_election_date_wrapped 2018-11-06
  5. python manage.py bootstrap_electionnight_content 2018-11-06
  6. See the changes in step 4 above.
  7. Feature races for national body pages.
  8. Set ELECTIONNIGHT_AWS_S3_BUCKET back to production.
  9. python manage.py bake_elections 2018-11-06