Skip to content
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

start file trouble #180

Open
jmccreight opened this issue Dec 19, 2023 · 1 comment
Open

start file trouble #180

jmccreight opened this issue Dec 19, 2023 · 1 comment

Comments

@jmccreight
Copy link
Contributor

Hi,

I can not get the start file to do anything for me. I'm stumped.

I have it in my repo files in /home/jovyan/work/workspace/start but it is not officially part of my repo. I added it after the fact to the files (it's not in the git index). Would that make a difference? My environment.yml is picked up just fine in that location (it is in the repo index).

FWIW this is the contents of my start fiile.

#!/bin/bash
rm /home/jovyan/work/workspace/start_touch
touch /home/jovyan/work/workspace/start_touch
export LD_LIBRARY_PATH=/srv/conda/envs/notebook/lib/:$LD_LIBRARY_PATH
conda activate notebook
cd /home/jovyan/work/workspace
pip install -e .
exec "$@"

The rm and touch are to test if it's running at all. Besides that, I need to set LD_LIBRARY path and install the python package that is my repo into the conda env (which I'm unable to do in postBuild).

Thanks for your thoughts.

@jmccreight
Copy link
Contributor Author

jmccreight commented Dec 20, 2023

I made something of an MRE: https://github.com/jmccreight/test_wholetale
I'm using a JupyterLab container, FWIW

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

No branches or pull requests

1 participant