Blame docs/apps/duffy/Development.md

fd40ec
To install/develop Duffy:
fd40ec
fd40ec
1. Clone the repository and navigate into the project directory.
fd40ec
   ```
fd40ec
   git clone https://github.com/CentOS/duffy.git
fd40ec
   cd duffy
fd40ec
   ```
fd40ec
fd40ec
2. Set up and activate a virtual environment.
fd40ec
   * Using native virtual environment
fd40ec
     ```
fd40ec
     python3 -m venv duffyenv
fd40ec
     source duffyenv/bin/activate
fd40ec
     ```
fd40ec
   Or
fd40ec
   * Using virtualenv wrapper
fd40ec
     ```
fd40ec
     virtualenv duffyenv
fd40ec
     source duffyenv/bin/activate
fd40ec
     ```
fd40ec
   Or
fd40ec
   * Using Poetry virtual environment shell
fd40ec
     ```
fd40ec
     poetry shell
fd40ec
     ```
fd40ec
fd40ec
3. Install using Poetry
fd40ec
   The following command would install all the dependencies for the project including the ones required for the development and testing of the project.
fd40ec
   ```
fd40ec
   poetry install
fd40ec
   ```
fd40ec
   Execute the following command if you wish to installing only the dependencies which are required to run the project but not those required for its development and testing.
fd40ec
   ```
fd40ec
   poetry install --no-dev
fd40ec
   ```
fd40ec
fd40ec
4. Add changes and then test those by running Tox
fd40ec
   ```
fd40ec
   tox
fd40ec
   ```
fd40ec
fd40ec
5. Please be descriptive about the changes introduced in your pull request while making one.