registerguard / ballot

Online and print election results from Lane County, Ore., USA
MIT License
2 stars 0 forks source link

Make a ballot_setup management command that works remotely. #11

Closed jheasly closed 7 years ago

jheasly commented 7 years ago

ballot_setup command will have to be fed a Lane_County_Media_Export.csv file by a local-only uploading kind of script. A one-time deal, so not a big deal.

How will updates work though? A ballot_upload_csv management script?

Once:

  1. ballot_setup (remote; a one-time-per-election thing)

    To update:

  2. ballot_upload_csv (local; browser-fake JavaScript click to download .csv, upload file to server)
  3. ballot_process_csv (remote; insert .csv data in server db)
  4. ballot_upload_json (local; make JSON from URL requests, upload to AWS S3 bucket)
jheasly commented 7 years ago

Now that .csv pulling down has been extrapolated into ballot_upload_csv, closing.