This repository has been archived on 2025-02-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
nord-for-org/start.sh

19 lines
439 B
Bash
Executable File

#!/bin/bash
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