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

Add devcontainer #185

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add devcontainer #185

wants to merge 1 commit into from

Conversation

yousefmoazzam
Copy link
Collaborator

@yousefmoazzam yousefmoazzam commented Oct 20, 2023

The idea is to provide a development environment for httomo that is easily reproducible, for both testing and development purposes.

Containers are one such tool that provide such reproducibility, and modern IDEs such as VSCode and PyCharm support the ability to develop inside a container, while still being able to use all the features that the IDE provides when developing normally/outside of a container (such as autocompletion, debugging, Ctrl-click to jump to a definition, etc).

  • add Dockerfile for base container image with all deps of httomo, httomolib, and httomolibgpu installed
  • add basic config for dev container image
  • add support for VSCode
  • add support for PyCharm
  • add documentation on how to use the dev container

@yousefmoazzam yousefmoazzam added the enhancement New feature or request label Oct 20, 2023
@yousefmoazzam
Copy link
Collaborator Author

Adding support for PyCharm has been put on hold for the moment, as the Dev Container plugin by JetBrains is unfortunately only available for the professional edition of PyCharm (ie, the paid edition of PyCharm).

There does appear to be some information in the PyCharm docs that using dev containers could be possible with the JetBrains Gateway program, but it's hard to tell if this only works with certain JetBrains IDEs.

@dkazanc dkazanc changed the base branch from gpuloop to main August 12, 2024 14:22
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

Successfully merging this pull request may close these issues.

None yet

1 participant