585: Add a line to the makefile to run the examples on a python serve… (#689)

* 585: Add a line to the makefile to run the examples on a python server with one line command

* Build exs and run server with previous makefile cmds

Co-authored-by: Todd Keech <tkeech1@hotmail.com>

Co-authored-by: mariana <marianameireles@protonmail.com>
This commit is contained in:
tkeech1
2022-08-25 16:43:25 -04:00
committed by GitHub
parent edfd4baa1f
commit ccb0e6b269

View File

@@ -73,6 +73,12 @@ examples:
cp -R ./build/ ./examples/build
@echo "To serve examples run: $(conda_run) python -m http.server 8080 --directory examples"
# run prerequisites and serve pyscript examples at http://localhost:8000/examples/
run-examples: setup build examples
make examples
npm install
make dev
test:
make examples
make test-ts