Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (39 sloc) 1.33 KB
version: 2
jobs:
build_and_deploy:
docker:
- image: circleci/python:3.6.6-node
steps:
- checkout
- run:
command: |
sudo apt-get install sqlite3
sudo npm install -g now
sudo pip install datasette yaml-to-sqlite~=0.3 requests tqdm GitPython
yaml-to-sqlite browse.db museums museums.yaml --pk=id
sqlite3 about.db ""
python annotate_nominatum.py browse.db
python annotate_timestamps.py
sqlite-utils enable-fts browse.db museums name description osm_city osm_country
datasette publish now browse.db about.db --token=$NOW_TOKEN \
--alias=www.niche-museums.com \
--name=niche-museums \
--install=datasette-haversine \
--install=datasette-pretty-json \
--install=datasette-template-sql \
--install=datasette-json-html \
--install=datasette-cluster-map~=0.8 \
--install=datasette-atom~=0.3 \
--metadata=metadata.json \
--template-dir=templates \
--plugins-dir=plugins \
--static css:static/ \
--branch=master
workflows:
version: 2
build:
jobs:
- build_and_deploy:
filters:
branches:
only: master
You can’t perform that action at this time.