Skip to content

Fix data/ directory mapping #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 18, 2023
Merged

Fix data/ directory mapping #6

merged 3 commits into from
May 18, 2023

Conversation

abbydrury
Copy link
Contributor

@abbydrury abbydrury commented Apr 14, 2023

Scope

Put the data/ directory into the container in a way that is accessible from the JupyterLab UI left rail to address #5.

Implementation

In the Dockerfile, added a new directory in the container called jupyterlab and symlinked the analysis/ and data/ directories into it. Then, set JupyterLab to use the new jupyterlab directory as the home directory.

Future Work

Not at this time.

Testing

  1. From the project directory, check out this branch.
  2. Open JupyterLab in the browser OR reload JupyterLab in the browser.
  3. Observe that the data/ and analysis/ directories exist at the top level in the left sidebar.

To be completed by the person testing

  • analysis/ directory is in the left sidebar of the JupyterLab UI
  • data/ directory is in the left sidebar of the JupyterLab UI

Special considerations for making this live

… that is accessible from the JupyterLab UI left rail.
… that is accessible from the JupyterLab UI left rail.

Try using softlinks instead, the volumes are getting weird.
@abbydrury abbydrury linked an issue Apr 14, 2023 that may be closed by this pull request
@abbydrury abbydrury marked this pull request as ready for review April 14, 2023 14:55
@abbydrury abbydrury added the bug Something isn't working label Apr 14, 2023
@abbydrury abbydrury self-assigned this Apr 14, 2023
@abbydrury abbydrury merged commit 5377e92 into main May 18, 2023
@abbydrury abbydrury deleted the fix-data-volume-location branch May 18, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

data/ directory missing
1 participant