Skip to content

Latest commit

 

History

History
70 lines (55 loc) · 5.83 KB

README.md

File metadata and controls

70 lines (55 loc) · 5.83 KB

public-tree-map

Public Tree Map uses open datasets to document publicly owned park + street trees in Santa Monica, California. We're also working to add coverge in other parts of LA County (based on data collected by Matt Stiles). For details about how we process data, please see the data pipeline repository. For more information about the project, please see our project page and join our slack workspace.

We primarily use javascript. Our test site is https://publictreemap.org/

Contributing

git clone https://github.com/Public-Tree-Map/public-tree-map.git

No other setup is required. Access the index.html file in your browser to see the application.

iOS Debug Notes:

To debug Geolocation related functionalities on iOS, use Safari Web Inspector following these instructions.

Additionally, Safari does not allow location service over HTTP. In order to debug and test on iOS, the website must be served over HTTPS. The following steps and terminal commands are provided for using Live Server in VS Code:

  • create private key and certificate

      openssl genrsa -aes256 -out localhost.key 2048   
      openssl req -days 3650 -new -newkey rsa:2048 -key localhost.key -x509 -out localhost.pem
    
  • create .vscode/settings.json in project folder, add following:

          {
          "liveServer.settings.https": {
          "enable": true,
          "cert": "{some path}/localhost.pem", //certificate, absolute path
          "key": "{some path}/localhost.key", //private key file, absolute path
          "passphrase": "12345" //passphrase used in private key creation
          }
    

    (see here )

Protocol for pull requests + code review

  • Please review open issues and link your pull request to the relevant issue.
  • Please create a new branch!
  • Please determine if your contribution is part of the la county expansion milestone. If your work is part of this milestone, please make your PR to the "la-expansion" branch.
  • In your pull request, please list and explain all proposed changes to the code base (additions, deletions). If you reuse code from elsewhere, please make sure you've attributed it.
  • Please apply all relevant labels to your pull request.
  • Please request a review (either from a specific person or from the appropriate slack channel).
  • Reviewers: please review all proposed changes, write comments and questions in line notes. Please review all updates made at your request.
  • Reviewer and requester: please confirm with each other that the PR is ready to merge. Please make sure that the PR branch name documents the new changes.

Related projects/inspiration