in_docker_test_script.sh 419 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. set -ex
  3. echo "Preparing test project dir"
  4. mkdir hello
  5. python3 -m venv ~/hello/venv
  6. source ~/hello/venv/bin/activate
  7. echo "Installing reflex from local repo code"
  8. cd /reflex-repo
  9. poetry install
  10. echo "Running reflex init in test project dir"
  11. export TELEMETRY_ENABLED=false
  12. poetry run /bin/bash -c "cd ~/hello && reflex init --template blank && rm -rf ~/.reflex .web && reflex export --backend-only"