Developer Environment Setup Guide for niceML 🍦¶
Overview¶
👋 Welcome to the development environment setup guide for niceML! This guide will walk you through the process of setting up a development environment for contributing to our open-source project. We use Poetry for managing dependencies, and we recommend using conda environments for a seamless development experience but pipenv or comparable solution are also possible. Let's get your environment up and running smoothly! 🚀
Prerequisites¶
Before you begin, ensure that you have the following installed on your system:
Clone the Repository¶
Create a Conda Environment¶
We recommend using conda to manage your Python environment. Navigate to the project directory and create a conda environment:
Replace your-env-name
with your desired environment name and 3.x
with a Python version above 3.8 and below 3.12.
For Apple Silicon we recommend python 3.8.
Install Poetry Dependencies¶
We recommend that you don't use Poetry environments. Deactivate the creation of poetry environments:
Once your conda environment is active, use Poetry to install project dependencies:
Default dependency installation¶
Dependency installation for Apple Silicon¶
This will install all the required dependencies specified in the pyproject.toml
file.
Running Tests¶
Ensure everything is set up correctly by running the tests:
If all tests pass, you're ready to start contributing to the project! 🎉
Contributing Guidelines¶
Before you start contributing, make sure to check our contribution guidelines for information on coding standards, pull request procedures, and more.
Happy coding! 🚀👩💻👨💻