Skip to content

Commit

Permalink
Merge pull request #7 from eugenethreat/main
Browse files Browse the repository at this point in the history
Add Google Apps Script Spreadsheet Editing
  • Loading branch information
eugenethreat authored Aug 20, 2024
2 parents 57ba60d + d673145 commit d23bf58
Show file tree
Hide file tree
Showing 7 changed files with 759 additions and 654 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ignore all reflected build files
_site/*
.jekyll-cache/*
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# networkmap

This map of PCW's network coverage is built with MapBox.
This map of PCW's network coverage is built with MapBox via Jekyll.

# Local Development
You can run this site locally in a container using Docker
* clone the repo with `git clone`
* `docker compose up -d`
* `jekyll` will serve at `localhost:4000`

# Editing map contents
* As of 8/20/24, the map **no longer uses the geosjon files in `/data`**. It is now linked to a Google Apps Script that generates GeoJSON files dynamically based of the content of a spreadsheet - **please contact a PCW staff member for access.**
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
services:
jekyll:
# image: jekyll/jekyll
build: .
volumes:
- .:/srv/jekyll
ports:
- "4000:4000"
# command: jekyll serve --force_polling --drafts
4 changes: 4 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# from my digging the github action uses jekyll 3.9.5 but that doesn't exist on dhub...
# https://github.com/jekyll/jekyll/issues/9066 - issue with webrick gem - downgrade version
FROM jekyll/jekyll:3.8.5
CMD jekyll serve --force_polling --drafts
File renamed without changes.
Loading

0 comments on commit d23bf58

Please sign in to comment.