mirror of
https://gitlab.rlp.net/mobitar/julia_course.git
synced 2024-11-23 13:31:36 +00:00
Init commit
This commit is contained in:
commit
42a02a2f46
3 changed files with 37 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Manifest.toml
|
2
Project.toml
Normal file
2
Project.toml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[deps]
|
||||||
|
Pluto = "c3e4b0f8-55cb-11ea-2926-15256bba5781"
|
34
README.adoc
Normal file
34
README.adoc
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
= Julia course - 28.03.-01.04.2022
|
||||||
|
:source-highlighter: highlight.js
|
||||||
|
:highlight-languages: julia
|
||||||
|
|
||||||
|
== Installation
|
||||||
|
First, download Julia from the official website: https://julialang.org/downloads/.
|
||||||
|
|
||||||
|
If you are on Windows, follow the instructions of the installer.
|
||||||
|
|
||||||
|
Linux users can either download the binary from the website above or install Julia with a package manager if it provides an up to date package (usually named `julia`).
|
||||||
|
|
||||||
|
== Installing Pluto
|
||||||
|
After the installation of Julia, launch Julia to be welcomed by the REPL.
|
||||||
|
|
||||||
|
Now, https://github.com/fonsp/Pluto.jl[Pluto] has to be installed to be able to view, edit and run the notebooks of this course.
|
||||||
|
|
||||||
|
In the REPL, press `]`. This will cause the prompt to change to a one ending with `pkg>`. Now run the following:
|
||||||
|
|
||||||
|
[source]
|
||||||
|
----
|
||||||
|
add Pluto
|
||||||
|
----
|
||||||
|
|
||||||
|
After the installation is done, press backspace to get back to the normal prompt ending with `julia>`.
|
||||||
|
|
||||||
|
Now, run the following:
|
||||||
|
|
||||||
|
[source,julia]
|
||||||
|
----
|
||||||
|
import Pluto
|
||||||
|
Pluto.run()
|
||||||
|
----
|
||||||
|
|
||||||
|
A new tab will open in your browser where you can then open one of the notebooks.
|
Loading…
Reference in a new issue