mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-01-29 14:20:48 +00:00
"set -e" to abort on error "cd …" to prevent creating .venv if script is launched outside git dir "[ … ]" to skip creating venv when it already exists
8 lines
178 B
Bash
Executable File
8 lines
178 B
Bash
Executable File
#! /usr/bin/env bash
|
|
set -e
|
|
cd "$(dirname "$0")"
|
|
! [ -d .venv ] && python3 -m venv .venv
|
|
source .venv/bin/activate
|
|
pip install -r requirements.txt
|
|
python tagstudio/tag_studio.py
|