runv-server

server tooling for runv.club
Log | Files | Refs | README

test_local.sh (382B)


      1 #!/bin/sh
      2 # Teste local sem SSH: fila e log dentro de terminal/data/.
      3 set -e
      4 ROOT="$(cd "$(dirname "$0")/.." && pwd)"
      5 cd "$ROOT"
      6 mkdir -p "$ROOT/data/queue"
      7 export RUNV_ENTRE_ROOT="$ROOT"
      8 export RUNV_ENTRE_CONFIG="$ROOT/config.example.toml"
      9 export RUNV_ENTRE_QUEUE_DIR="$ROOT/data/queue"
     10 export RUNV_ENTRE_LOG_FILE="$ROOT/data/entre-test.log"
     11 exec python3 "$ROOT/entre_app.py" "$@"