Adding server script to run services
This commit is contained in:
4
Procfile
Normal file
4
Procfile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
character: bin/character
|
||||||
|
front: bin/front
|
||||||
|
inventory: bin/inventory
|
||||||
|
item: bin/item
|
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