Setting Up the Development Environment¶
This guide provides instructions for setting up a development environment for Aerleon.
Prerequisites¶
Before starting, ensure you have the following installed: - Python 3.10+ - Poetry 2.2+
Steps¶
-
Clone the Repository
-
Install Dependencies Use Poetry to install all required dependencies.
-
Run Tests Verify the setup by running the test suite.
-
Activate Pre-Commit Hooks Set up pre-commit hooks to ensure code quality.
-
Start Development You are now ready to start contributing to Aerleon. Make sure to follow the contributing guidelines.
Troubleshooting¶
- If you encounter issues with Poetry, refer to the Poetry documentation.
Using the Devcontainer¶
Aerleon provides a development container to simplify the setup process. Follow these steps to use it:
-
Open the Project in VS Code Ensure you have the Remote - Containers extension installed.
-
Reopen in Container
- Open the Command Palette (
Ctrl+Shift+PorCmd+Shift+Pon macOS). -
Select
Remote-Containers: Reopen in Container. -
Wait for Setup VS Code will build the container and install all dependencies automatically. This may take a few minutes.
-
Start Developing Once the container is ready, you can start developing immediately. All tools and dependencies are pre-installed.