Today we are going to work through getting all our environments setup and do some quick tasks.
Clone the Repo¶
Go to Github and find the DayTwoStuff repo
Clone it to your GitHub Account
Create a new Codespace from the repo
Open the Codespace in your local VS Code¶
Open VS Code on your local machine
Use the Codespaces extension to open your new Codespace in VS Code
Familiarize yourself with the layout of the project
Viewing Data¶
Open a new python script or notebook or ipython file
Load in any dataset you like
Find a extension that will allow you to see the data in a data viewer
Load the extension and view the data
Package managing¶
Install plotly in the terminal
Note the version
Add plotly to your requirements file using terminal commands
The re-load the requirements document
Extension Management¶
You’ve add a new extension because of the Viewing Data Task
Find the extension in the Dev Container Menu and add it to you Dev Container json file
Save the file, this should trigger a re-build message, go ahead and rebuild your container
Create a virtual environment¶
open a bash terminal
type the command for creating a virtual environment
make sure the environment is activated
Create a requirements.txt file¶
use the correct terminal commands to pip freeze to a requirements file