自动化部署项目.
fab -l
fab config:'./config.ini'
or
fab config:path=./config.ini
fab config:./config.ini init
fab config:./config.ini setup
fab config:./config.ini deploy
fab config:./config.ini one_step
fab config:./config.ini setup_web_app
login_user=root
target_ips=['192.168.1.1']
stage=product
project=TripitakaPlatform
repository=https://github.com/CoinLQ/TripitakaPlatform.git
default_branch = master
webapp_name = Z_PUB
webapp_repository = https://github.com/CoinLQ/Z_PUB.git
webapp_branch = master
nginx_server_name = 'api.lqdzj.cn'
nginx_webpage_name = 'www.lqdzj.cn'
#保持与django项目的settings配置一致.
db_name = tripitaka_platform
db_user = lqzj
db_password = xxxxxx
aws_access_key = please_change_it
aws_secret_key = please_change_it
email_pw = please_change_it