recc-tech / tech

Documentation and scripts for the production team at River's Edge Community Church
2 stars 0 forks source link

RECC Tech

Welcome to the River's Edge Production Team repository!

Setting Up on a New Computer

  1. Install Python. The scripts were developed and tested using Python 3.10.
  2. Move to the scripts/ directory.
  3. Install the required external libraries by running pip install -r setup/requirements.txt
  4. Create a desktop shortcut for each top-level script (batch files on Windows, shell scripts on macOS).
    • On Windows, run setup/New-Shortcuts.ps1 in PowerShell.
    • On macOS, run setup/make_shortcuts.sh in bash.
  5. Set up scripts to run on startup.
  6. Activate the configuration profile by running python manage_config.py activate.

Setting Up a New Development Environment

  1. Install Python. The scripts were developed and tested using Python 3.10.
  2. Move to the scripts/ directory.
  3. Optionally create a new Python virtual environment using the command python -m venv .venv. Activate this virtual environment using source .venv/bin/activate on MacOS or .venv/Scripts/activate on Windows.
  4. Install the required external libraries by running pip install -r setup/requirements.txt
  5. Install the required development dependencies (e.g., those required for testing but not when running the code in production) by running pip install -r setup/requirements-dev.txt.
  6. Activate the configuration profile by running python manage_config.py activate --profile PROFILE. To see the full list of available profiles, run python manage_config.py list.
  7. Activate the Git pre-commit hook using git config core.hooksPath ./.git-hooks.

Repository Structure