October 2018
Beginner
232 pages
7h 52m
English
You can deploy code from Vagrant by running the vagrant push command. You will need to do some configuration first but this can be a good way of managing code and a machine at the same time. You will need to specify a remote server (such as FTP) in your Vagrantfile before running the command. Here is an example block:
config.push.define "ftp" do |push| push.host = "ftp.yourdeploymentexample.com" push.username = "yourftpusername" push.password = "yourftppassword" end
You can use FTP, SFTP (by setting the secure option to true in the FTP version), Heroku, or execute commands that you have created for pushing code.
Read now
Unlock full access