一键式部署任何应用程序:Vagrant Push
jopen
11年前
Vagrant是开发环境部署工具,1.7版本新增了一个命令:vagrant push。vagrant up是建立开发环境的单个命令;vagrant push是部署应用程序的单个命令。从此部署应用程序变得简单了!
Vagrant 1.7 ships with four strategies:
-
Atlas - Push application to Atlas, a commercial product from HashiCorp.
-
FTP/SFTP - Upload files via FTP or SFTP to a remote server. This is great for static sites, PHP, etc.
-
Heroku - Push your Git repository to Heroku, and configure the Git remote for you if it doesn't already exist.
-
Local Exec - Executes a local script on the system using a shell, deferring deployment logic to the user. This is for custom behavior or more complicated interactions with systems.