Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Day Two Stuff

Today we are going to work through getting all our environments setup and do some quick tasks.

Clone the Repo

  1. Go to Github and find the DayTwoStuff repo

  2. Clone it to your GitHub Account

  3. Create a new Codespace from the repo

Open the Codespace in your local VS Code

  1. Open VS Code on your local machine

  2. Use the Codespaces extension to open your new Codespace in VS Code

  3. Familiarize yourself with the layout of the project

Viewing Data

  1. Open a new python script or notebook or ipython file

  2. Load in any dataset you like

  3. Find a extension that will allow you to see the data in a data viewer

  4. Load the extension and view the data

Package managing

  1. Install plotly in the terminal

  2. Note the version

  3. Add plotly to your requirements file using terminal commands

  4. The re-load the requirements document

Extension Management

  1. You’ve add a new extension because of the Viewing Data Task

  2. Find the extension in the Dev Container Menu and add it to you Dev Container json file

  3. Save the file, this should trigger a re-build message, go ahead and rebuild your container

Create a virtual environment

  1. open a bash terminal

  2. type the command for creating a virtual environment

  3. make sure the environment is activated

Create a requirements.txt file

  1. use the correct terminal commands to pip freeze to a requirements file