Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ansistrano/symfony-deploy-example
An example deployment of a Symfony 5 application
https://github.com/ansistrano/symfony-deploy-example
Last synced: about 2 months ago
JSON representation
An example deployment of a Symfony 5 application
- Host: GitHub
- URL: https://github.com/ansistrano/symfony-deploy-example
- Owner: ansistrano
- License: mit
- Created: 2020-02-25T19:02:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T01:28:49.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T11:33:36.369Z (8 months ago)
- Language: PHP
- Size: 4.29 MB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansistrano Showcase: Symfony Application Deployment
This is an example repository intended to show the usage of Ansistrano to deploy a Symfony 5 application in a [Homestead][1]
Virtual Machine## DISCLAIMER
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.## How to make it run
Clone this repository into your Github account and then clone it from there.
### Install all dependencies
composer install
### Spin up the Homestead machine
vagrant up
### Generate your own deploy key
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.
### Deploy code
composer deploy
### Check on the browser
open https://homestead.test:44300/
[1]: https://laravel.com/docs/6.x/homestead