Skip to content

Conversation

@tomasr8
Copy link
Member

@tomasr8 tomasr8 commented Dec 9, 2025

This adds a barebones development setup that allows you to run swanhub locally. It's definitely not perfect and some things are missing but it's already quite useful. Here's what's included:

  • CERN SSO integration: this is useful because you can test any SSO/Auth-related changes locally
  • File watcher script: sets up symlinks and automatically rebuilds assets when source files change. This allows you to simply edit a source file (e.g. CSS or JS), save it and reload JH to see the changes applied. This is quite useful for developing e.g. the options form.

Limitations:

  • Currently it just starts jupyterlab (or whatever else you happen to have installed in your venv). I want to explore using the docker spawner with our user image instead. This means you cannot use this yet for debugging/developing user extensions.

@tomasr8 tomasr8 force-pushed the dev-setup branch 4 times, most recently from 1b7b4b4 to 41f3821 Compare December 10, 2025 10:32
@tomasr8 tomasr8 marked this pull request as ready for review December 10, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants