Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 3.75 KB

File metadata and controls

35 lines (24 loc) · 3.75 KB

KnowledgeDiffusionSimulations

badge

Installation for Local Use

  1. Follow the instructions to install Julia and Jupyter

  2. Open the Julia REPL (see the documentation above) and then install the package (by entering package mode) with

    ] add https://github.com/jlperla/KnowledgeDiffusionSimulations.jl.git
  3. There are several ways you can run the notebooks after installation

    Using the built-in Jupyter is straightforward. In the Julia terminal

    using KnowledgeDiffusionSimulations, IJulia
    notebook(detached=true, dir=dirname(dirname(pathof(KnowledgeDiffusionSimulations))))

    Alternatively, to use a separate Jupyter installation you may have installed with Anaconda,

    using KnowledgeDiffusionSimulations
    cd(dirname(dirname(pathof(KnowledgeDiffusionSimulations))))
    ; jupyter lab

    where the last step runs your jupyter lab in the shell.

    Note In either case, the first time the using it will be very slow

  4. The code for individual examples and experiences are in the notebooks/.ipynb files

NOTE: When using the notebooks for the first time, it will be very slow as the package and its dependencies are all compiled.