irongit
Explore
Docs
Sign in
Register
huncholane
/
rango
Public
Code
Commits
Branches
Tags
31125fac6cb4aaa80e6076993222aa45122ec535
main
rango
/
dev
17 lines
322 B
Raw
Download
History
1
#
!/bin/bash
2
#
For development only
3
4
#
if venv doesn't exist initialize it
5
if
[
!
-
d
"
venv
"
]
;
then
6
bash
init
7
else
8
source
venv/
*
*
/activate
9
fi
10
11
#
run devscript for args 1+ if they exist
12
if
[
-
n
"
$
1
"
]
;
then
13
bash
devscripts/
$
1
$
{
@
:
2
}
14
else
15
docker
compose down
16
docker
compose up
--
build
--
remove-orphans
17
fi