Skip to content

Commit

Permalink
Remove 511 demo
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Oct 25, 2023
1 parent da60879 commit 66281b8
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 42 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/deploy-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ jobs:
with:
repository: simonw/pge-outages
path: pge-outages
- name: Check out dbreunig/511-events-history
uses: actions/checkout@v2
with:
repository: dbreunig/511-events-history
path: 511-events-history
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -44,22 +39,17 @@ jobs:
- name: Download ca-fires.db
run: curl --fail -o ca-fires.db https://s3.amazonaws.com/git-history-demos/ca-fires.db
continue-on-error: true
- name: Download sf-bay-511.db
run: curl --fail -o sf-bay-511.db https://s3.amazonaws.com/git-history-demos/sf-bay-511.db
continue-on-error: true
- name: Build the databases
run: |-
demos/pge-outages.sh
demos/ca-fires.sh
demos/sf-bay-511.sh
- name: Upload databases to S3
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |-
s3-credentials put-object git-history-demos pge-outages.db pge-outages.db
s3-credentials put-object git-history-demos ca-fires.db ca-fires.db
s3-credentials put-object git-history-demos sf-bay-511.db sf-bay-511.db
- name: Set up Cloud Run
uses: google-github-actions/setup-gcloud@v0
with:
Expand All @@ -74,7 +64,6 @@ jobs:
--service git-history-demos \
pge-outages.db \
ca-fires.db \
sf-bay-511.db \
--install datasette-block-robots \
--install datasette-remote-metadata \
--install datasette-cluster-map \
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Install this tool using `pip`:

- [pge-outages](https://git-history-demos.datasette.io/pge-outages) shows a history of PG&E (the electricity supplier) [outages](https://pgealerts.alerts.pge.com/outagecenter/), using data collected in [simonw/pge-outages](https://github.com/simonw/pge-outages) converted using [pge-outages.sh](https://github.com/simonw/git-history/blob/main/demos/pge-outages.sh)
- [ca-fires](https://git-history-demos.datasette.io/ca-fires) shows a history of fires in California reported on [fire.ca.gov/incidents](https://www.fire.ca.gov/incidents/), from data in [simonw/ca-fires-history](https://github.com/simonw/ca-fires-history) converted using [ca-fires.sh](https://github.com/simonw/git-history/blob/main/demos/ca-fires.sh)
- [sf-bay-511](https://git-history-demos.datasette.io/sf-bay-511) has records of San Francisco Bay Area traffic and transit incident data from [511.org](https://511.org/), collected in [dbreunig/511-events-history](https://github.com/dbreunig/511-events-history) converted using [sf-bay-511.sh](https://github.com/simonw/git-history/blob/main/demos/sf-bay-511.sh)

The demos are deployed using [Datasette](https://datasette.io/) on [Google Cloud Run](https://cloud.google.com/run/) by [this GitHub Actions workflow](https://github.com/simonw/git-history/blob/main/.github/workflows/deploy-demos.yml).

Expand Down
7 changes: 0 additions & 7 deletions demos/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@ databases:
tables:
commits:
label_column: commit_at
sf-bay-511:
title: 511.org incidents
source: dbreunig/511-events-history
source_url: https://github.com/dbreunig/511-events-history
tables:
commits:
label_column: commit_at
ca-fires:
title: fire.ca.gov incidents
source: simonw/ca-fires-history
Expand Down
23 changes: 0 additions & 23 deletions demos/sf-bay-511.sh

This file was deleted.

0 comments on commit 66281b8

Please sign in to comment.