Contributing to SwarmZero
Last updated
Was this helpful?
Last updated
Was this helpful?
We encourage developers to contribute to the . Your involvement helps us grow and improve innovation and collaboration. By participating, you can enhance your skills, and connect with other developers.
Here is a guide on how you can get started to contribute to the project:
If you want to contribute to the codebase, you need to set up your development environment. Follow these steps:
Create a new file called .env
Copy the contents of .env.example
into your new .env
file.
Note: API keys for third-party tools are not provided. Obtain OPENAI_API_KEY
from OpenAI
If you don't have Poetry installed, you can install it using the following commands:
Activate the virtual environment created by Poetry with the following command:
Install dependencies with the following command:
Make sure you're in the tests/ directory:
Run the test suite:
Run tests for a specific module:
Run with verbose output:
Run with a detailed output of each test (including print statements):
Open with your browser to see the Swagger UI of the API.