Adding server script to run services
This commit is contained in:
17
scripts/server
Executable file
17
scripts/server
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
mkdir -p /tmp/cortex/rule
|
||||
mkdir -p /tmp/tempo
|
||||
|
||||
echo "Starting services..."
|
||||
|
||||
GIT_ROOT=$(git rev-parse --show-toplevel)
|
||||
pushd ${GIT_ROOT}
|
||||
|
||||
export HOST_GATEWAY='host-gateway'
|
||||
|
||||
overmind start
|
||||
|
||||
popd
|
Reference in New Issue
Block a user