mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-28 06:28:14 +03:00
.. | ||
app | ||
src | ||
.gitignore | ||
example.cabal | ||
hap.yaml | ||
README.md | ||
Setup.hs | ||
Vagrantfile |
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.vagrant up
- 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