Dual Development with dev_tool
Overview
The dual development feature allows you to develop features across multiple projects simultaneously. This approach is particularly useful when working on interconnected systems or when you need to make coordinated changes across multiple repositories, such as a client project and django-spire or django-glue.
Configuration Guide
Setting Up Your Environment
You will need to configure your development.env file to include path(s) to other repositories. For example, you could add one of the following lines to your development.env:
django-spire
django-glue
If you are working on multiple repositories, such as django-spire and django-glue, then you could add both repositories but delimited by a comma.
django-spire and django-glue
PYTHONPATH_APPEND=$USERPROFILE/PycharmProjects/django-spire,$USERPROFILE/PycharmProjects/django-glue
Note:
On Windows,
$USERPROFILEis automatically expanded toC:\Users\<Username>(e.g.,C:\Users\BraydenCarlson)On Unix-based systems (i.e., Linux/macOS), use
$HOMEinstead.
Remove Installed Packages
You will need to remove repositories installed via pip in order to use this feature, otherwise the local and installed version will conflict or one will override the other. The simplest method is to open the dev_tool, navigate to the "Python" tab, select "Uninstall a dependency" and enter the name of the package to be uninstalled (e.g., django-spire, django-glue), and then press Enter. You will need to restart the dev_tool after making these changes.