From 17928b1f32442209f55c6810078e5299e722bcd7 Mon Sep 17 00:00:00 2001 From: elvis Date: Sun, 29 Oct 2023 18:53:28 +0100 Subject: [PATCH] added installation instructions --- README.md | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 73d7cfa..899979a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,36 @@ # CMLDA -Repository for the course Computational Mathematics for Learning and Data Analysis \ No newline at end of file +Repository for the course Computational Mathematics for Learning and Data Analysis. + +# Installation +These steps are for MacOS, with [```brew```](brew.sh) and ```python3``` already installed. + +## Installing Julia + +```sh +brew install julia +``` + +## Installing JupyterLab and IJulia kernel + +### IJulia kernel + +Inside the julia REPL: +```julia +using Pkg +Pkg.add("IJulia") +``` + +A simple notebook experience can be obtained by simply running ```noteboot()```, which will install in a separate [```conda```](https://docs.conda.io/en/latest/) environment the needed python packages. + +### JupyterLab + +A separate environment with [```virtualenv```](https://pypi.org/project/virtualenv/) or [```virtualenvwrapper```](https://pypi.org/project/virtualenvwrapper/) is recommended. + +```sh +pip install jupyterlab +``` + +# Running + +To run simply start the notebook with ```jupyter lab``` , the julia kernel should be automatically detected.