赞
踩
Linux环境
创建项目目录,创建Python虚拟环境
mkdir -p flask-appbuilder
cd flask-appbuilder
python3 -m venv myvenv
. myvenv/bin/activate
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
参考:https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
pip install flask-appbuilder
flask fab create-app
flask fab create-admin
# start 否则只能在127.0.0.1:5000访问
flask run --host=0.0.0.0
参考:
https://airflow.apache.org/docs/apache-airflow/stable/start/local.html
airflow users create \
--username admin \
--firstname Peter \
--lastname Parker \
--role Admin \
--email spiderman@superhero.org
http://192.168.1.4:5000/
admin
参考:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。