-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update makefile to include a build of the appropriate plugin
- Loading branch information
1 parent
a5eff68
commit 35460ab
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |