mamba-org / gator

Conda environment and package management extension from within Jupyter
Other
260 stars 30 forks source link

Create conda store environment #162

Closed peytondmurray closed 2 years ago

peytondmurray commented 2 years ago

Summary

This PR adds support for creating conda-store environments.

Changes

github-actions[bot] commented 2 years ago

Binder :point_left: Launch a binder notebook on the branch Quansight/gator/create-conda-store-environment

peytondmurray commented 2 years ago

Here's a demo of me creating an environment. I'll try to get someone else to test this and comment here as well:

https://user-images.githubusercontent.com/14017872/140790165-a5439cf1-bd47-4027-a82e-20a6b9e9ce9d.mp4

Also, @fcollonval (or anyone else) if you would like to meet to get a conda-store server up and running, we can do that too. I'll also look into setting up a remote conda-store server so that you don't have to worry about getting it running locally.

peytondmurray commented 2 years ago

@fcollonval In case you (or anyone else) have time and are interested, you can get the conda-store server up and running in a few steps:

  1. git clone git@github.com:quansight/conda-store
  2. Add the following line to conda-store/examples/docker/assets/conda_store_config.py to allow all users to create environments:
c.RBACAuthorizationBackend.unauthenticated_role_bindings = {
    "*/*": {"admin"}
}
  1. Run the conda-store server:
    cd conda-store/examples/docker
    docker compose up --build

The server should now be running at http://localhost:5000. Navigate to JupyterLab and open the Conda Store Packages Manager, and you should be able to create an environment. Because it takes a little while for the environment to build, you may have to refresh the packages to see anything.

fcollonval commented 2 years ago

Thanks @peytondmurray for the information.