- Upgrade servers to t2.2xlarge: update terraform production config and run
onespot server launch --target=production
- Update requirements:
onespot server update --target=production
- Bootstrap zeroes:
onespot election init 2018-11-06 --target=production
- Make changes to the following in the admin
- Bernie Sanders (VT), Angus King (ME), Bill Walker (AK-gov), Gary Johnson (NM-gov) should not be agreggable candidates
- Alyse Galvin (AK-AL) is a Democrat
- Bake context:
fab production django.management:bake_elections 2018-11-06
- Test results processes:
- Run
onespot election start 2018-11-06
- On east server, check
/var/log/politico-civic/state_results.log
and/var/log/politico-civic/reup.log
- On west server, check
/var/log/politico-civic/county-results.log
- If all is well, make sure pages work
- Run
NOTE: I would set your ELECTIONNIGHT_AWS_S3_BUCKET
to staging, just in case any signals fire and deploy incomplete data to prod.
- Drop local database, recreate and migrate
python manage.py bootstrap_electionnight
- Go into the database and change South Dakota's Shannon County, which is fips code
46113
, to Oglala Lakota County. Make the fips code46102
. Ugh. python manage.py initialize_election_date_wrapped 2018-11-06
python manage.py bootstrap_electionnight_content 2018-11-06
- See the changes in step 4 above.
- Feature races for national body pages.
- Set
ELECTIONNIGHT_AWS_S3_BUCKET
back to production. python manage.py bake_elections 2018-11-06