venne / deployment
该软件包最新版本(dev-master)没有可用的许可证信息。
Venne框架的部署脚本。
dev-master
2013-09-12 14:14 UTC
Requires
- php: >=5.3.2
This package is auto-updated.
Last update: 2024-08-29 04:14:20 UTC
README
安装
通过 Git
git clone git://github.com/Venne/deployment.git
rm -fr deployment/.git
通过 Composer
composer create-project venne/deployment:dev-master --prefer-dist
可选地,您可以安装 git 的钩子
php deployment/bin/install.php
如何使用
导出安装
php deployment/bin/export.php
导入安装
php deployment/bin/import.php
使用 Git 进行部署
第一次只在沙盒中运行
composer create-project venne/deployment:dev-master --prefer-dist
git init
php deployment/bin/install.php
git add *
git commit -m "first commit"
git remote add origin <$server>
git checkout -b production
git push origin production
当您想要部署当前生产分支时
git push