Skip to content

Commit

Permalink
update makefile to include a build of the appropriate plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrosquall committed Apr 16, 2022
1 parent a5eff68 commit 35460ab
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@

.PHONY: publish-vercel, install

install:
yarn install
pip install -r demo/requirements.txt
pip install -e .
# None of this is needed since publish is happening
# in the CI environment using the statics from PyPI, not from a local build
# Need to re-evaluate how to use locally created plugins/statics for this in a future iteration. For now, just use published assets for simplicity.

# install:
# # yarn install
# # pip install -r demo/requirements.txt
# # pip install -e .

# https://github.com/simonw/datasette-publish-vercel#other-options
publish-vercel: install

datasette publish vercel demo/happy_planet_index.db \
--project=datasette-nteract-data-explorer \
--scope=datasette-visualization-plugin-demos \
--token=${VERCEL_TOKEN} \
--vercel-json=vercel.json
--vercel-json=vercel.json \
--install datasette-nteract-data-explorer

0 comments on commit 35460ab

Please sign in to comment.