Skip to content

hughshanahan/CS2900-Lab-1

Repository files navigation

Lab 1

Running in NoMachine

You can run Jupyter directly from the department server:

  • First run the following command
git clone [email protected]:hughshanahan/CS2900-Lab-1.git

to clone the repository and cd into the repository folder.

  • Then run
jupyter notebook

to launch the notebook in the browser.

You may have to copy and paste a URL from the output on the command line to the browser.

Example output to be copied from running jupyter notebook

Paste to browser bar

Once it has loaded, you be greeted with this screen:

Image of Binder dashboard

Double-click on the file "Lab1.ipynb". This should create a new tab with the following:

Image of Jupyter notebook

Follow the instructions from there...

Running on your own machine

Finally, you can also run Jupyter from your own computer. Instructions on this can be found at https://jupyter.org/install. If you do not have it you, Anaconda is a handy tool to download Python and Jupyter in one bundle.

You will need to clone the repository as above, and then launch your conda environment and install the packages in the requirements.txt folder. The main ones you will need are numpy and matplotlib.

Make sure these are installed before starting the notebook!