Thank you for your interest in contributing to Solathon! We welcome contributions from the community to help make this project better.
Before you start contributing, please take a moment to review the following guidelines.
We expect all contributors to act professionally and respectfully, and we expect our social channels to be a safe and enjoyable environment for all.
-
Fork the repository and create your branch from
master
:git checkout -b feature/your-feature-branch
-
Make your changes and ensure that they follow the project coding standards.
-
Write tests for your changes to ensure the functionality is correct.
-
Ensure your code passes linting and tests:
poetry run pytest
-
Commit your changes with a clear and concise commit message:
git commit -m "Add a brief summary of your changes"
-
Push to your branch:
git push origin feature/your-feature-branch
-
Create a pull request to the
master
branch.
To set up your development environment, follow these steps:
-
Install Poetry (if not already installed):
pip install poetry
-
Clone the repository:
git clone https://github.com/SuperteamDAO/solathon.git cd solathon
-
Install project dependencies:
poetry install
-
Install development dependencies:
poetry install --extras=dev
-
Run tests to ensure everything is set up correctly:
poetry run pytest
-
Create a virtual environment(pip install venv, if you haven't already):
python -m venv venv
-
Activate Virtual Environment:
Mac/Linuxsource venv/bin/activate
Windows
.\venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Install dev dependencies:
pip install -r requirements-dev.txt