.gitpod.yml 1.1 KB

1234567891011121314151617181920212223242526
  1. github:
  2. prebuilds:
  3. # enable for the master/default branch (defaults to true)
  4. master: true
  5. # enable for all branches in this repo (defaults to false)
  6. branches: true
  7. # enable for pull requests coming from this repo (defaults to true)
  8. pullRequests: true
  9. # enable for pull requests coming from forks (defaults to false)
  10. pullRequestsFromForks: true
  11. # add a check to pull requests (defaults to true)
  12. addCheck: true
  13. # add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
  14. addComment: true
  15. # add a "Review in Gitpod" button to the pull request's description (defaults to false)
  16. addBadge: false
  17. # add a label once the prebuild is ready to pull requests (defaults to false)
  18. addLabel: false
  19. tasks:
  20. - init: pip3 install -e . && yarn install && yarn run build
  21. command: pip3 install -e . && jupyter lab --dev-mode --watch --LabApp.token='' --LabApp.allow_origin=*
  22. ports:
  23. - port: 8888
  24. onOpen: open-browser
  25. # --LabApp.tornado_settings='{"headers": {"Content-Security-Policy": "frame-ancestors *"}}'