Skip to content

Instantly share code, notes, and snippets.

@simonw
Last active January 21, 2019 04:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonw/29c049291a6550a47a3c871d67345093 to your computer and use it in GitHub Desktop.
Save simonw/29c049291a6550a47a3c871d67345093 to your computer and use it in GitHub Desktop.
toss-up.now.sh one-liner

Bash one-liner I used to create toss-up.now.sh

git clone https://github.com/dwillis/toss-up \
    && csvs-to-sqlite toss-up/data/*.csv toss-up.db \
    && datasette publish now toss-up.db 
        --source_url=https://github.com/dwillis/toss-up \
        --install=datasette-vega \
        --install=datasette-cluster-map \
        --alias=toss-up.now.sh

https://toss-up.now.sh/

Some demos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment