- Clone this repo
- Install Conda and Julia on your target operating system. If on Windows, install the Windows Substyem for Linux
- Assuming that python is in your path, install the dependencies
pip install sphinxcontrib-bibtex - Clone with
git clone https://github.com/QuantEcon/sphinxcontrib-jupyter cdto thesphinxcontrib-jupyter- Install with
python setup.py install - Go to the
notebooksdirectory of this repo, runjuliaand then install eitherinclude("instantiate.jl")or run
using Pkg
pkg"add IJulia; precompile"
pkg"activate .;instantiate; precompile"This may take a long time, as it will install and precompile every package used by the lecture notes.
- To generate the notebooks and execute them
- In the main directory of the repo:
make jupyterormake jupyter-notestif you want it without testing code
- Alternatively, you could edit
rst_files/conf.pyand modify the settingjupyter_drop_tests = True
- Execute all of the notebooks with
./run-all-notebooks.sh. This will take a long-time the first execution. cdto the/notebooksdirectory, and runjupyter labto examine them.
- In the main directory of the repo:
On top of the above, we have the following dev scripts: