mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-28 22:46:22 +03:00
1.1 KiB
1.1 KiB
Example project to test hapistrano's working_dir feature
We're going to test the hapistrano's working_dir
feature by deploying this project to a local server (Virtual machine).
To do this we need to:
- Install VirtualBox
- Install Vagrant
- You must have a ssh key with the name
id_rsa
. If you're not sure this article can be helfpul. - Go to the
/hapistano/example
directory. - Execute in your terminal the next line.
If everything went good, this should trigger the deployment procces to the virtual machine.#This could take a couple of minutes $ vagrant up $ hap deploy
- To check that the project was built you can ssh the vagrant vm, and do the folowing:
Nothing should happen since your project is already compiled.vagrant ssh cd /tmp/hap-examle/current/example stack build