nrc-cnrc / EGSnrc

Toolkit for Monte Carlo simulation of ionizing radiation — Trousse d'outils logiciels pour la simulation Monte Carlo du rayonnement ionisant
http://nrc-cnrc.github.io/EGSnrc
GNU Affero General Public License v3.0
217 stars 146 forks source link

Configuration and documentation for building and running in Codespaces or Development Container #1101

Closed markphip closed 3 weeks ago

markphip commented 7 months ago

This adds the configuration necessary to build and run EGSnrc in a Development Container. I have successfully tested this in the following environments:

Documentation:

Development container configuration:

Scripts for container setup and GUI applications build:

mainegra commented 7 months ago

This is a very timely contribution! It will definitively make it easier for users to use EGSnrc in their preferred OS on any machine regardless of the host OS!

ftessier commented 1 month ago

Yes, let's add it and then we and others can play with it and improve!

ftessier commented 1 month ago

@markphip quick question: is the .devcontainer directory name canonical, or can it be anything?

markphip commented 1 month ago

@ftessier The specification describes a limited number of names and folders for the configuration. See https://containers.dev/implementors/spec/#devcontainerjson

rtownson commented 3 weeks ago

Added new lines to the ends of the scripts.