2018-05-18 09:12:14 +00:00
|
|
|
#!/bin/bash
|
2018-06-22 08:27:08 +00:00
|
|
|
|
|
|
|
function start-front-end() {
|
|
|
|
python /scripts/start.py
|
|
|
|
}
|
|
|
|
|
|
|
|
function start-back-end() {
|
|
|
|
python /scripts/start.py --mode backend
|
|
|
|
}
|
|
|
|
|
|
|
|
case $1 in
|
|
|
|
"front-end" )
|
|
|
|
start-front-end
|
|
|
|
;;
|
|
|
|
"back-end" )
|
|
|
|
start-back-end
|
|
|
|
;;
|
|
|
|
esac
|