Installation and Setup¶
Prerequisites¶
- Python: Version 3.11 or later.
- IDE: Visual Studio Code is recommended.
- Git: Either Git (command line) or GitHub Desktop.
Creating a Virtual Environment in VS Code¶
- Open the C2F4DT folder in VS Code.
- Open the terminal (`Ctrl+``).
- Create a virtual environment:
- Activate the environment:
- On macOS/Linux:
- On Windows:
VS Code should auto-detect the venv_c2f4dt
. If not, select it manually (Python: Select Interpreter
).
Installing Packages¶
Once the environment is active, install dependencies:
Activating in Regular or Development Mode¶
Regular Mode¶
To activate the application in regular mode, run:
Development Mode¶
For development mode, which includes additional tools and dependencies for development, run:
You can also activate in user mode (without requiring administrative privileges):
Running the Application¶
- To launch the main app:
- Or run example scripts:
Version Control with Git¶
Cloning the Repository¶
If using GitHub Desktop, choose “Clone repository” and paste the repo URL.
Creating a Branch¶
Always create a feature branch before editing:
Making Commits¶
- Keep commits small and focused.
- Use descriptive messages:
- Do not commit:
venv_c2f4dt/
- large datasets
- build artifacts
Make sure .gitignore
includes venv_c2f4dt/
, __pycache__/
, and site/
.
Pushing Changes¶
Then open a Pull Request on GitHub.