Disclaimer: These are instructions for the nominal case. If they don't work for you, and you've done some Googling to try to resolve the issue, feel free to post an issue on the GitHub repository and we'll do everything we can to help.
- Go to the chapter you're interested in on helioml.org and select the Notebook.
- At the top of the page, hover over the download icon, and click ".ipynb". This file should download to your local downloads directory.
- Go to the HelioML GitHub repository, right click "environment.yml" and select "Save Link As" to download the file into your local downloads directory.
- If you don't already have the anaconda distribution of python installed, we highly recommend installing it. Here are the instructions for that.
- Open up your terminal (or Anaconda Prompt if on Windows) and navigate to the folder containing the files you downloaded in step 2 above (this could be your default download directory or wherever you've decided to move the files).
- Install. At your command line, type
conda env create -f environment.yml(we're following the instructions for creating a conda environment from here). When it prompts you if you want to install all of the detected packages, type
yand hit enter. It'll take about a minute to install everything.
- Activate. At your command line, type
conda activate textbook.
- Run. Finally, at your command line, type
jupyter lab(whichever is your preference). This will open up jupyter in your default browser. Just click on the notebook.ipynb you downloaded and you should now be able to run all of the code locally.
Disclaimer: Some of these chapters require a fair amount of compute so be conscious of the resource draw on your cloud computing platform of choice.
- Fork the HelioML repository on GitHub. Here are instructions for how to do that if you're not familiar (but it's basically just clicking the "Fork" button in the upper right corner of the repository on GitHub).
- Load the repository into your cloud computing platform of choice. Here are links for how to do that for a few of the options.