Repository navigation
Installation and Development Environment
ReefTag is a local Python desktop application built with PySide6 (Qt) and SQLite. Its database schema is managed with yoyo-migrations. The application must be run from a Python environment.
- Python, at a version supported by the repository's
pyproject.toml - Git, to clone the source
- A desktop environment capable of running Qt/PySide6 applications
- A writable location for the local SQLite database
The instructions below use macOS or another Unix-like shell. On Windows, virtual-environment activation and environment-variable syntax differ.
git clone https://github.com/davewalker5/ReefTag.git
cd ReefTagFrom the project root:
python3 -m venv .venv
source .venv/bin/activateCheck that the expected interpreter is active:
python --version
python -m pip --versionpython -m pip install --upgrade pip
python -m pip install -e .ReefTag uses the REEFTAG_DB_PATH environment variable to identify its SQLite database file. Set it to an absolute path to a file, not merely a directory. For example:
mkdir -p "$HOME/Documents/ReefTag"
export REEFTAG_DB_PATH="$HOME/Documents/ReefTag/ReefTag.sqlite3"Pending yoyo migrations are applied automatically on startup and the database path's parent directory must be writable. Keep a backup of an existing database before upgrading or changing schema versions.
source .venv/bin/activate
python -m reef_tagSee User Guide for the complete workflow for using the application.