Julia v1.6 or newer
Open a julia session (REPL)
If you want, make a new environment (see package management documentation for more details ), with:
] activate .
Here, ]
switches from the julia REPL to the package manager
Add MinimallyDisruptiveCurves.jl to your current environment with
] add MinimallyDisruptiveCurves
Finally preface any julia code running in your environment, with:
using MinimallyDisruptiveCurves
Tutorial notebooks are in the MDCExamples repository.
At a terminal, in the directory of your choice, type the following commands:
git clone https://github.com/Dhruva2/MDCExamples.git
cd MDCExamples
julia
This clones the github repository with the examples, changes location to the cloned repository, and starts a julia session.
In your new julia session, activate the environment:
] activate .
]
switches to the package manager. activate .
activates the predetermined package environment in which the notebooks can be run.
(optional): Precompile the dependencies to save a few minutes later
] precompile
Open Pluto notebooks:
using Pluto; Pluto.run()
and then open/run the individual notebooks in the notebook environment.