The purpose of this repository to get comfortable with Oceananigans.jl.
- Download Julia
Download Julia from https://julialang.org/downloads/
- Activate and instantitae the environment
Make sure you are in the directory containing the Project.toml and Manifest.toml files. Then, in the Julia REPL run the following
Using Pkg; # loads the Julia package manager
Pkg.activate("."); # activates the environment defined by Project.toml
Pkg.instantiate(); # installs dependencies defined by Manifest.toml- Create a Julia Jupyter kernel
From the Julia REPL, run the following:
using IJulia;
installkernel("julia"); # creates a julia kernel for Jupyter- Open jupyterlab
From the Julia REPL, run the following
using IJulia; # skip this if IJulia is already loaded
jupyterlab() # starts a jupyterlab server in this directory- Start using Oceananigans!
Now you can create a notebook and start experimenting with Oceananigans.jl. I suggest trying to run some of the examples in the documentation.
- Julia Academy is a great resource is you are just learning Julia
- The Julia Getting Started guide is another great resource