Website and data prep for ILSolarMap.com.
We recommend using virtualenv and virtualenvwrapper for working in a virtualized development environment. Read how to set up virtualenv.
Once you have virtualenvwrapper set up, do this:
mkvirtualenv il-solar-map -p /path/to/your/python3
pip install -r requirements.txt
To run everything:
cd data/scripts
bash run_all.sh
This site uses Jekyll to serve several static pages and images. The site is published to GitHub Pages.
- Jekyll - Static site generator built in Ruby
- Bootstrap 5 - HTML and CSS layouts
- mapbox-gl-js 2.15
- jQuery 3.7
- DataTables - for searching and sorting tables
- CSV to HTML Table - for sortable rollup tables
Requirements:
- ruby-2.6.2
- jekyll 3.1.6
We recommend using rvm to manage your Ruby versions.
Initial setup
git clone https://github.com/chihacknight/il-solar-map.git
cd il-solar-map
rvm install ruby-2.6.2
bundle install jekyll -v 3.1.6
bundle install
Running locally
jekyll serve -w
Then open your web browser and navigate to http://localhost:3000
Boundary sources
- Illinois Counties - https://clearinghouse.isgs.illinois.edu/data/reference/illinois-county-boundaries-polygons-and-lines
- Illinois State Senate Districts (2023) - https://www.elections.il.gov/shape/
- Illinois State House Districts (2023) - https://www.elections.il.gov/shape/
- Illinois Census Tracts - https://www2.census.gov/geo/tiger/TIGER2020PL/STATE/17_ILLINOIS/17/
Solar project sources
- Illinois Adjustable Block Program projects (Illinois Power Agency) - https://illinoisabp.com/project-application-reports/
- Illinois Solar for All program (Illinois Power Agency)
- Utility solar projects (US EIA-860M) - https://www.eia.gov/electricity/data/eia860m/
Legislator info
- Illinois State Senate Members - https://ballotpedia.org/Illinois_State_Senate
- Illinois State House Members - https://ballotpedia.org/Illinois_House_of_Representatives