This repository is for the Datafun-04-Jupyter project, which involves setting up a virtual environment and managing project dependencies.
-
Repository Created:
- Created the GitHub repository with the name
datafun-04-jupyter. - Added a default
README.mdfile.
- Created the GitHub repository with the name
-
Repository Cloned:
- Cloned the repository to the local machine using the command:
git clone https://github.com/brandonjbbb/datafun-04-jupyter
- Cloned the repository to the local machine using the command:
-
Project Opened in VS Code:
- Opened the cloned project in Visual Studio Code.
-
.gitignore File Created:
- Added
.gitignorefile to ignore unnecessary files and folders:.vscode/ .venv/
- Added
-
Virtual Environment Created:
- Created a virtual environment with the command:
python -m venv .venv
- Created a virtual environment with the command:
-
Virtual Environment Activated:
- Activated the virtual environment:
- Windows:
.\.venv\Scripts\activate
- macOS/Linux:
source .venv/bin/activate
- Windows:
- Activated the virtual environment:
- The
.gitignorefile ensures that temporary files and virtual environment directories are not tracked in Git. - The virtual environment keeps the project dependencies isolated.
- Add project dependencies to
requirements.txt. - Continue development and commit changes regularly.
This section describes the steps to set up the project environment, install dependencies, and start Jupyter Lab.
- Create a virtual environment in the project folder:
python3 -m venv .venv