This is an example repository intended to show the usage of Ansistrano to deploy a Symfony 5 application in a Homestead Virtual Machine
The only purpose of this repository is to show the usage of Ansistrano. This means that some of the things done here are made in order to make it easy Ansistrano to work and have a quick demo, for readers to have a clear idea of the workflow. But they cannot be considered in any case a best practice or the way to go when deploying applications in a real-world scenario.
Clone this repository into your Github account and then clone it from there.
composer install
vagrant up
Follow the instructions here
https://developer.github.com/v3/guides/managing-deploy-keys/#deploy-keys
Overwriting the files
id_rsa.pub
id_rsa
With the generated SSH keys.
composer deploy
open https://homestead.test:44300/