Skip to content

Commit

Permalink
Use new custom pages mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Apr 26, 2020
1 parent 81f7735 commit 94a3c34
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:
run: |-
wget https://niche-museums-j7hipcg4aq-uc.a.run.app/browse.db
yaml-to-sqlite browse.db museums museums.yaml --pk=id
sqlite3 about.db ""
sqlite3 map.db ""
python annotate_nominatum.py browse.db
python annotate_timestamps.py
- name: Set up Cloud Run
Expand All @@ -50,6 +48,7 @@ jobs:
datasette publish cloudrun browse.db about.db map.db \
--service niche-museums \
--metadata metadata.yaml \
--branch 1b7b66c465e44025ec73421bd69752e42f108321 \
--install=datasette-haversine \
--install=datasette-pretty-json \
--install=datasette-template-sql \
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
datasette~=0.40
# Branch with custom pages support:
https://github.com/simonw/datasette/archive/1b7b66c465e44025ec73421bd69752e42f108321.zip
# datasette~=0.40
datasette-haversine
datasette-template-sql>=1.0
datasette-pretty-json
Expand Down
2 changes: 1 addition & 1 deletion serve.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
datasette browse.db about.db map.db -p 8211 \
datasette browse.db -p 8211 \
--reload \
--template-dir=templates/ \
--plugins-dir=plugins/ \
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 94a3c34

Please sign in to comment.