Skip to content
This repository has been archived by the owner on Apr 29, 2018. It is now read-only.

resistbot/letters_to_editor_map

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guide to Using the Letters to the Editor Map

Developer Steps:

  1. Clone this repo.
  2. Export the spreadsheet containing the most recent letter data to a csv.
  3. Move that csv into the resistbot-map directory.
  4. Rename that csv 'data.csv'
  5. Navigate to resistbot-map repo
  6. On your command line, run conda env create resistbot_map
  7. On your command line, run source activate resistbot_map
  8. On your command line, run python data.py
  9. Your repo now contains a file called data.json. This is the file containing the data that www.resistbot.io uses to construct the l2e map. Take that file and move it to the js directory in our main site repo. Upon deployment, the map will use that file to put pins and labels.
  10. Please do not commit the actual data.json file anywhere. It contains user information, and we want to protect our users' privacy to the extent that we can.

To Update the info on the map from a new CSV:

Repeat the steps above, starting with exporting the spreadsheet containing the most recent letter data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.1%
  • Python 24.8%
  • HTML 14.2%
  • CSS 4.9%