This repository has been archived on 2023-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
nord-for-org/start.sh

19 lines
439 B
Bash
Raw Normal View History

#!/bin/bash
2020-05-05 13:10:55 +00:00
function start_release() {
echo "Starting backend in RELEASE mode"
sass --watch web/style/:web/style -tcompressed &
webdev serve --release --hostname 0.0.0.0
}
function start_debug() {
echo "Starting backend in DEBUG mode"
sass --watch web/style/:web/style -tcompressed &
webdev serve --hostname 0.0.0.0
}
echo Relase: $RELEASE
[ "$RELEASE" == "release" ] \
&& start_release \
|| start_debug