irongit
Explore
Docs
Sign in
Register
huncholane
/
rango
Public
Code
Commits
Branches
Tags
42696970793abd6b030dabc69b82700a6fbe4d21
main
rango
/
dev
17 lines
336 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
echo
"
Running the docker compose
"
16
docker
compose up
--
build
--
remove-orphans
17
fi