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

Simplify the process of installing data-science related toolkits #73

Open
rongxin-liu opened this issue Jan 9, 2023 · 4 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@rongxin-liu
Copy link
Contributor

No description provided.

@rongxin-liu rongxin-liu added the enhancement New feature or request label Jan 9, 2023
@rongxin-liu rongxin-liu self-assigned this Jan 9, 2023
@dmalan
Copy link
Member

dmalan commented Jan 9, 2023

What might be best? A .cs50.yml file or .cs50.json or such, inside of which could be packages to install when the container starts/restarts, a la cmd for https://cs50.readthedocs.io/sandbox/#api? Or support for execution of an arbitrary .sh file in a specified location?

@rongxin-liu
Copy link
Contributor Author

For this particular issue, I'm thinking of adding a button in our menu allowing one-click install Jupyter notebook extension and scikit-learn python package. This should be enough for students to start with their projects that rely on jupyter notebook. Jupyter is bundled with VS Code when Codespace starts and we decided to force uninstall jupyter a while back, causing some headache for students, so I think we'd want to provide an easy way for them to re-install jupyter.

@rongxin-liu
Copy link
Contributor Author

Relatedly, to allow users further customize their codespaces (install Ubuntu/Python packages, run scripts, etc.,) I'd suggest we do that via postCreateCommand, in which we look for a user-defined script to execute at a specific location. That should give users more flexibility.

@dmalan
Copy link
Member

dmalan commented Jan 9, 2023

Know of any conventions we could/should adopt? E.g., other tools or Linux distros that look for a specifically named file and executes it on start? At the root level, there are files like rc.local on some distros, but not sure about user accounts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants