#!/usr/bin/env bash set -ex echo "Preparing test project dir" mkdir hello python3 -m venv ~/hello/venv source ~/hello/venv/bin/activate echo "Installing reflex from local repo code" cd /reflex-repo poetry install echo "Running reflex init in test project dir" export TELEMETRY_ENABLED=false poetry run /bin/bash -c "cd ~/hello && reflex init --template blank && rm -rf ~/.reflex .web && reflex export --backend-only"