To start working on RepoDynamics projects:
- Install the GitHub CLI (
gh). - Clone the
repodynamics/.githubrepository, for example usinggh:gh repo clone repodynamics/.github ./repodynamics/.github
- Create and activate a virtual environment with
pythonandpippreinstalled, for example usingconda:conda create -n repodynamics python conda activate repodynamics
- Run the initialization script (for more information on optional inputs, run with
--help):This script clones all RepoDynamics repositories locally and installs all Python packages in editable mode along with their third-party dependencies in the current environment.repodynamics/.github/dev/init.sh
The initialization script is a convenience script running the pull.sh and install.sh
scripts, respectively. You can also invoke these two scripts separately, when needed
(for more information, run with --help):
pull.sh: Clones or pulls specified repositories to establish a synchronized local copy.install.sh: Installs all third-party dependencies of all repositories containing Python projects. This is followed by installing all Python projects in editable mode.