mirror of
https://github.com/microsoft/data-formulator.git
synced 2026-11-04 12:01:37 +00:00
15 lines
502 B
Bash
15 lines
502 B
Bash
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT License.
|
|
|
|
# Set HTTP proxy environment variables only (Flask doesn't support SOCKS5)
|
|
# export http_proxy=http://127.0.0.1:7890
|
|
# export https_proxy=http://127.0.0.1:7890
|
|
|
|
export FLASK_RUN_PORT=5567
|
|
|
|
# Use uv if available, otherwise fall back to python
|
|
if command -v uv &> /dev/null; then
|
|
uv run data_formulator --port ${FLASK_RUN_PORT} --dev --managed
|
|
else
|
|
python -m data_formulator.app --port ${FLASK_RUN_PORT} --dev --managed
|
|
fi |