irongit
Explore
Docs
Sign in
Register
huncholane
/
rango
Public
Code
Commits
Branches
Tags
main
rango
/
devscripts
/
back
17 lines
299 B
Raw
Download
History
1
#
!/bin/bash
2
3
bash
devscripts/compose
4
5
cd
rango/backend
6
7
if
[
!
-
f
.env
]
;
then
8
python
manage.py createsecret
9
fi
10
11
#
if no argument, run the backend
12
if
[
-
z
"
$
1
"
]
;
then
13
python
manage.py runserver 0.0.0.0:8000
14
else
15
#
run the arguments as python manage.py
16
python
manage.py
$
1
$
{
@
:
2
}
17
fi