Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 1.62 KB

README.md

File metadata and controls

50 lines (39 loc) · 1.62 KB

Geant4.jl-tutorial

Materials for the Geant4.jl Tutorial.

Read the rendered Jupyter book: https://peremato.github.io/Geant4.jl-tutorial/index.html

Follow the tutorial with Binder:

Binder

Follow the tutorial on a local computer:

You need to install julia and jupyter in your system. These are the instructions:

Linux or MacOS

# install Julia
curl -fsSL https://install.julialang.org | sh

# clone this repository
git clone https://github.com/peremato/Geant4.jl-tutorial.git
cd Geant4.jl-tutorial

# instantiate this project and install jupyter
export JULIA_PROJECT=@.
julia -e 'using Pkg;Pkg.instantiate()'
julia -e 'using IJulia; installkernel("Julia")'
julia -e 'using IJulia; jupyterlab(dir="tutorial/docs")'

Windows

REM install Julia from Microsoft Store
winget install julia -s msstore

REM or using the Windows Julia installed from https://julialang.org/downloads/
REM make sure that julia is added to the PATH

REM clone the tutorial repository
git clone https://github.com/peremato/Geant4.jl-tutorial.git
cd Geant4.jl-tutorial

REM instantiate this project and install jupyter
set JULIA_PROJECT=@.
julia -e "using Pkg;Pkg.instantiate()"
julia -e "using IJulia; installkernel(\"Julia\")"
julia -e "using IJulia; jupyterlab(dir=\"tutorial/docs\")"

When not taken from other sources (with its own Copyright and License), this material is:

Copyright © 2023 CERN and the authors / contributors.

Licensed under CC-BY-4.0.`