#!/usr/bin/env bash # The development server on http://127.0.0.1:8040 without login, with the # invented demo people, against the database of scripts/dev-db.sh. set -euo pipefail cd "$(dirname "$0")/.." export VISA_DATABASE_URL=${VISA_DATABASE_URL:-postgres://visa:visa-dev@127.0.0.1:55438/visa} export VISA_INSECURE_NO_LOGIN=1 export VISA_LISTEN=${VISA_LISTEN:-127.0.0.1:8040} cargo build -q ./target/debug/visa seed-demo exec ./target/debug/visa serve