Skip to content

Latest commit

 

History

History
executable file
·
47 lines (22 loc) · 1.86 KB

running_after_install.md

File metadata and controls

executable file
·
47 lines (22 loc) · 1.86 KB

Back to main page

Running things after installation

At this point, you have successfully installed anaconda, installed iminuit in your anaconda environment and cloned the applied statistics code repository somewhere on your laptop or on ERDA. Now, you want to open a notebook and start working. Follow these steps to find out how!

Opening and running a jupyter notebook (Linux and MacOS version)


  • Open a new terminal window, and type in the command: anaconda3. you should see the label (base) appear next to your username on the command line.

  • Move to the directory where your notebook is located by typing cd /path/where/my/notebook/is/located

  • IMPORTANT: If you are opening a notebook for the first time, make yourself a local copy of the _original notebook by typing: cp notebook_original.ipynb notebook_newname.ipynb

  • Open your local copy of the notebook by typing: jupyter-notebook notebook_newname.ipynb

  • Run and code things!

Opening and running a jupyter notebook (Windows)

  • Locate your notebook using the File explorer. Remember the path to it

  • In the Start Menu, open the Anaconda Navigator.

  • Open a Jupyter Notebook session.

  • Use the jupyter file explorer to find the path you found earlier

  • Click on the notebook to begin working

Updating the code repository

As the week pass by, additional exercices will be periodically added to the code repository. To update your local copy of the code:

  • open a terminal window

  • Move to the folder where you have cloned the git: cd /path/to/appml/AppliedML2020

  • Update the content by typing: git pull

  • For Windows Users Only: To open a terminal, Use the File Explorer to locate your code folder, then right-click inside of it and select the Git Bash Here option. You can then call git pull to update your local version of the code.