Setting Up the Development Environment
To contribute to the uynab project, it's important to set up a development environment that matches the project's requirements. This ensures consistency and reduces the time spent debugging non-existent bugs.
Prerequisites
Before setting up the environment, ensure you have the following installed:
- Python: The project is built using Python. Make sure you have Python installed on your machine. The project has to be compatible with python3.10
- Make: We use Make to simplify various tasks such as setup, testing, and building the project.
- Curl: Required for downloading scripts.
- Linux machine: It is not a hard requirement, but all instructions here are based on Ubuntu 22.04.
Steps to Set Up the Environment
-
Clone the Repository:
-
Install UV: UV is used for project management. If UV is not installed, the setup script will install it for you.
-
Set Up the Project: Run the setup command to install all necessary dependencies and set up the project.
-
Verify the Setup: Ensure that the setup was successful by running the following command:
Additional Commands
-
Build the Project:
-
Run Tests:
-
Run All Tests:
-
Clean the Environment:
-
Format the Code:
-
Check Typing:
-
Serve Documentation Locally:
-
Upload Documentation:
By following these steps, you will have a development environment that is consistent with the project's requirements. For any issues or further details, refer to the Contribution Guidelines.