Skip to content

Latest commit

 

History

History
85 lines (56 loc) · 2.66 KB

File metadata and controls

85 lines (56 loc) · 2.66 KB

Setup Guide for DoodleFix

This guide will help you set up the development environment for DoodleFix using Python and Poetry.

Prerequisites

Before getting started, ensure you have the following prerequisites installed:

  1. Python 3.9 or higher: If you haven't installed Python yet, you can download the latest version from the official Python website. Follow the installation instructions for your operating system.

    Steps for Installing Python

    • Windows: Download the installer from the Python website and follow the installation wizard.
    • macOS: Python usually comes pre-installed. You may need to update it using Homebrew or install it manually.
    • Linux: Use your package manager to install Python. For example, on Ubuntu, you can use apt:
      sudo apt update
      sudo apt install python3
  2. Poetry: Poetry is a dependency management and packaging tool for Python. Install it using pip:

    pip install poetry

    For more detailed instructions, refer to the official Poetry documentation.

Setting Up the Development Environment

  1. Clone the Repository: First, clone the DoodleFix repository to your local machine using Git:

    git clone https://github.com/maskboyAvi/AdobeGensolve.git
  2. Change Directory: Navigate to the AdobeGensolve directory:

     cd AdobeGensolve
  3. Install Dependencies: Use Poetry to install the project dependencies:

     poetry install
  4. Activate the Virtual Environment: Once the dependencies are installed, activate the virtual environment:

     poetry shell
  5. Run the Tests: To ensure everything is set up correctly, run the tests:

     pytest

    If everything is set up correctly, you should see all the tests passing.

  6. Start Developing: You're all set! You can now start developing DoodleFix on your local machine.

Local Development Workflow

When working on DoodleFix, you can use the following commands to manage the development environment:

    poetry run DoodleFix <command-name>

For help on a specific command, use the --help flag. For example:

 poetry run DoodleFix --help
 poetry run DoodleFix <command-name> --help

Next Steps