econ-ark / econ-ark.org

Econ-ARK website
https://econ-ark.org/
0 stars 4 forks source link

update materials page execution instruction #63

Closed camriddell closed 6 months ago

camriddell commented 6 months ago

Updated the instructions to launch a user into a jupyter-lab session with the created conda environment.

Screenshot

image


Text

Install miniconda on your computer

  1. Open a Terminal (MacOS) or the Anaconda Prompt (Windows)
  2. At a command line, change the working directory to the one where you want to install
    • On MacOS/unix, if you install in the /tmp directory, the installation will disappear after a reboot: cd /tmp
  3. git clone https://github.com/econ-ark/Aiyagari-Idiosyncratic --recursive
  4. cd Aiyagari-Idiosyncratic
  5. conda env create -f ./binder/environment.yml --prefix ./condaenv
    • This creates a folder called ./condaenv inside the cloned repository. This folder contains all of the files for your conda environment.
  6. conda run --prefix ./condaenv pip install jupyterlab # this should guard us against REMARKs that do not have jupyterlab as a specific package to install
  7. conda run --prefix ./condaenv jupyter-lab
  8. To remove the environment from your computer you can use conda env remove --prefix ./condaenv

@llorracc can you ensure the above instructions work step-by-step for each of the REMARKs you wish to demo?