Setup / Deployment
$ cp docker-compose.yml.example docker-compose.yml $ cp .env.example .env $ docker-compose up --build
There are two files for configuration of the letter campaign:
Describes the FCC proceeding to which comments will be submitted.
Describes the comment template which is presented to the user. There are 3 types of elements in the comment:
give the user a choice of what language to use
user-selectbut also provides an "Other..." option which allows free-form entry
randomly selects one of the choices
$ bundle exec rspec
The ECFS API rate limits submissions to about 500/hour. For 17-108 "Restoring Internet Freedom" they have set up a form for bulk submissions, which may need to be used if the rate limit becomes a problem.
They also ask that organizations use this bulk upload form in any case, if they expect to submit a lot of comments.
To export the job queue to CSV in order to upload, run this command.
$ rake dear_fcc:create_csv >comments.csv
Make sure to save the output because the jobs will be deleted from the queue. The CSV output will be at most 5 megabytes since that is the maximum file size accepted by the FCC. If there are still jobs in the queue, generate additional CSV files by running the command again.