Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: missed a typo

...

  1. Look at our DTI Readiness Checklist to check that all accounts you need are in order.
  2. Request a tag through help@c3dti.ai or check your emails for a tag the DTI has already sent you.
    1. Find your <vanity_url> which is a url you will use to access your tag's facilities.
  3. Provision the jupyterBase package
    1. If your tag was prepared for you by the DTI, this package should already be installed, and you can skip this step. If you're not sure, or would like to try the provisoining process, continue here:
    2. Access your tag’s static console:
      1. <vanity_url>/static/console
    3. Select the web provisioner
      1. Select the Cloud icon (4th from the left)
    4. Download the jupyterBase package
      1. https://drive.google.com/file/d/19VQXoRQs9CrQh_2En3bwYifARUw-2xaD/view?usp=sharing
    5. Unzip the jupyterBase package to your local machine
    6. On the provisioner web page, change the Package name to ‘jupyterBase’
    7. Under the ‘Repository Folder’ field, select the Browse files button
      1. Select the 'dtiTraining' folder unpacked from jupyterBase
    8. Click the ‘Deploy’ button
    9. Wait for the deployment to finish (It can take a while, if your browser asks, wait for the tab)
    10. Refresh the static console page
  4. Launch the Jupyter Service
    1. Access your tag’s static console:
      1. <vanity_url>/static/console
    2. Open your browser’s devtools and go to the Javascript console
      1. On many browsers this is the ‘Ctrl+Shift+I’ keyboard shortcut; here is an article with directions on how to do this for different browsers on Windows and MacOS.
    3. Check whether a Jupyter is already running
      1. Execute the following command in the browser javascript console
      2. Jupyter.isRunning()
      3. Returns ‘true’ if running, ‘false’ if not
    4. Launch the Jupyter service
      1. Jupyter.start()
      2. Wait until you get a network timeout, or the call returns in the browser console. You should get an ‘undefined’ as the function doesn’t return any output
    5. Navigate to the Jupyter service
      1. <vanity_url>/jupyter
  5. Install the python environment
    1. Open a new Jupyter notebook (we need to get to the Kernel management menu)
    2. Select the "Kernel" menu
    3. Select "Manage Kernels"
    4. Browse the list and select ‘install’ on the 'py-dataanalysis' kernel. (this is the special kernel signed for this course)
    5. Wait until either there’s a timeout, or the spin icon stops and it says ‘uninstall’
    6. Refresh the Jupyter notebook
    7. Select the 'Kernel' menu
    8. Select 'Change Kernel'
    9. Select the 'py-dataanalysis' kernel.
  6. Test your code
    1. Go back to the jupyer Jupyter tree page
    2. Upload your notebooks, or open a new notebook
    3. Make sure to select the 'py-dataanalysis' kernel.
    4. Try some code
  7. Shutdown your Jupyter Service
    1. Remember when you're finished to shutdown your Jupyter resources as leftover running services can impact performance for other users.
    2. You can click the 'Shutdown Service' button on your Jupyter tree page <vanity_url>/tree
    3. You can also execute the command Jupyter.stop() from your static console page.