gator
gator copied to clipboard
feat: create new environment using a remote mamba solver
Point quetz_url and quetz_solve_url in packages/common/src/components/CondaHints.ts to your Quetz server/solver.
On the Quetz server with the solver add:
[cors]
allow_origins=["*", "http://localhost"]
to config.toml
The code completion in the environment editor can be activated with CTRL-space.
https://user-images.githubusercontent.com/46192475/116255314-6a82cf00-a772-11eb-89ce-b43784f46371.mp4
Thanks a lot for this awesome feature @mariobuikhuizen
I'll try to review it in the coming days.
One design question from the demo (thanks for it); did you think about various design? For example, does it make sense to open a new mainwidgetarea containing the editor with the button as toolbar button? The idea would be to create/edit environment file in a standalone widget directly from the filebrowser in addition to the demo you are presenting.
That sounds like a good idea @fcollonval, I'll look into that.
Thanks @hbcarlos!
I discovered an issue with setting arguments with the standalone navigator with jupyter_server 1.9 (in 1.6.1 it works). Taking a look at that now.
I think it's an issue in jupyter-server: https://github.com/jupyter-server/jupyter_server/issues/550