Skip to content

Repository files navigation

Solar Permit Map

The Virginia Solar Permitting Map aims to document and bring transparency to the various permitting processes involved in solar facility siting in the hopes of providing a central source of truth that can be referred to when process questions arise, or changes are considered. By illustrating how the various review processes relate to one another and where public engagement may take place, inefficiencies and opportunities to streamline the process may be observed and brought forth.

Solar Permit Map: https://solarpermitmap.coopercenter.org/

Getting Started

Github

Any changes made to the master branch are automatically pushed into the live server on Azure. Make sure changes are as intended before pushing to the master branch. Commit changes to branches other than master branch then merge when appropriate. Make sure you commit changes frequently to save changes to GitHub.

Azure

SolTax are hosted on Azure which is a cloud platform by Microsoft. When commit changes are pushed onto the master branch, it is deployed directly to Azure. For Azure login, contact Mary Beth Wetherell at meh4q@virginia.edu.

Structure

images - The folder contains the images used in the Solar Permit Map
main.js - Contains JavaScript functions used to create HTML elements (Modals, navigation bar etc.) that are shared
style.css - Contains styling/positioning for all elements
staticwebapp.config.json - Overrides default 404.html page to instead use 404.html from the repository
404.html - Error page
about.html - Explains program and provides credentials of authors
index.html - Full website homepage, displaying map of all permit pages and all possible permit types
inter-landing.html - Interconnection home page, describing and providing links to the different permit maps
inter-pjm-map.html - PJM interconnection map
inter-scc-map.html - SCC interconnection map

swim-lanes - The folder contains the various Solar Permit Map pages (Accessed from navigation bar dropdown)
    exempt-130-permit.html - Exempt from DEQ Section 130 Permit
    deq-130-permit.html - DEQ Section 130 Permit
    noi-500-kw.html - SCC Notice to Construct
    deq-pbr.html - DEQ PBR
    cpcn-100-mw.html - SCC CPCN for Facilities >100 MW
    cpcn-5-mw.html - SCC CPCN for Facilities >5 MW but ≤100 MW

Development

  1. Clone the Solar Permit repository and create a new branch for development

    Working with Github in VS Code Tutorial: https://docs.djangoproject.com/en/3.1/intro/tutorial01/

  2. During development, use the Live Server extension in Visual Studio Code to run HTML files on the local server at https://localhost8000 or http://127.0.0.1:8000. Use the local server to check if the changes made to the Solar Permit Map are successful.

    Live Server Extension: https://ritwickdey.github.io/vscode-live-server/

  3. Once the changes are as intended, commit and push the changes to the master branch to be automatically deployed to Azure.

Future Considerations

The Solar Permit Map requires extensive and tedious CSS modifications for every design change, significantly slowing down the development process. Although Bootstrap containers are helpful, an alternative method is possible for the Solar Permit Map and similar projects, using SVGs. SVGs are a more efficient approach as it allows for easier modifications and customization. Instead of requiring extensive CSS changes, the process will more so become drag-and-drop with minor adjustments to add interactivity and in translating the design to the web application.

This will allow the changes to the Solar Permit Map to be more sustainable over the long-term. Here is the proposed method that could streamline the design process:

  1. Create/Change the process map and customize as needed in Inkscape. Inkscape is an open-source and free illustrator tool.

    Inkscape: https://inkscape.org/release/inkscape-1.4/windows/64-bit/msi/?redirected=1

  2. Export the process map as an .svg file.

    HTML SVG Graphics: https://www.w3schools.com/html/html5_svg.asp

    HTML SVG Tag and Inkscape Tutorial: https://www.youtube.com/watch?v=qDL54I-ceQM&ab_channel=tutor4u

  3. Paste the .svg file into the web application.

  4. Using the local server, add changes in the .css file and interactive features.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages