Skip to content

Latest commit

 

History

History
87 lines (63 loc) · 3.95 KB

README.md

File metadata and controls

87 lines (63 loc) · 3.95 KB

PSYCOP-COMMON

Open in Dev Container Ruff pre-commit python versions Roadmap

The shared code across the PSYCOP projects.

Installation

Method 1: Dev container

  1. Install Orbstack or Docker Desktop. Make sure to complete the full install process before continuing.
  2. If not installed, install VSCode
  3. Clone the repository and open it in VSCode
  4. Press rebuild

208704841-6bcefca0-9d76-48c5-b449-04d534340c4d

  1. Profit!

Method 2: Ovartaci

If you're working on Ovartaci, all you need is to activate the shared environment by

conda activate psycop-next

To reinstall the packages in the environment, run inv install-requirements.

Method 3: Virtual environment install

If you're working locally:

git clone https://github.com/Aarhus-Psychiatry-Research/psycop-common.git
cd psycop-common

<activate virtual environment (conda, .venv etc.) here> 

# Install from the relevant requirements.txt files, e.g.
pip install -r requirements.txt -r dev-requirements.txt -r gpu-requirements.txt