irongit
rango/dev
17 lines354 B
1#!/bin/bash
2# For development only
3
4# if venv doesn't exist initialize it
5if [ ! -d "venv" ]; then
6 bash devscripts/init
7fi
8bash devscripts/activate_ready
9source venv/**/activate
10
11# run devscript for args 1+ if they exist
12if [ -n "$1" ]; then
13 bash devscripts/$1 ${@:2}
14else
15 docker compose down
16 docker compose up --build --remove-orphans
17fi