Makefile 844 B

1234567891011121314151617181920212223
  1. export BLACK_LIST_URIS=https://raw.githubusercontent.com/datalayer-jupyterlab/jupyterlab-listings-example/master/blacklist_simple.json
  2. export WHITE_LIST_URIS=https://raw.githubusercontent.com/datalayer-jupyterlab/jupyterlab-listings-example/master/whitelist_simple.json
  3. listings-uris:
  4. @exec echo Blacklist URIs: ${BLACK_LIST_URIS}
  5. @exec echo Whitelist URIs: ${WHITE_LIST_URIS}
  6. dev: listings-uris
  7. @exec python main.py \
  8. --dev \
  9. --no-browser \
  10. --LabServerApp.blacklist_uris=${BLACK_LIST_URIS} \
  11. --LabServerApp.whitelist_uris=${WHITE_LIST_URIS} \
  12. --LabServerApp.listings_refresh_ms=5000
  13. watch: listings-uris
  14. @exec python main.py \
  15. --dev \
  16. --no-browser \
  17. --watch \
  18. --LabServerApp.blacklist_uris=${BLACK_LIST_URIS} \
  19. --LabServerApp.whitelist_uris=${WHITE_LIST_URIS} \
  20. --LabServerApp.listings_refresh_ms=5000