Veja a versão em português.
. <Your app path>
|-- apache2/
|-- backend/ <Your project path>
|-- backend.git/
| `-- .git/ <This project as a bare repo>
|-- logs/
|-- env/ <Virtual environment>
|-- redeploy.sh
`-- .env <App environment variables>
- Creates a virtual environment for your project on the app root (named
env
); - Rebuilds the virtual environment if the project's Python version changes;
- Accepts project's dependencies defined in
requirements.txt
orsetup.py
; - Updates the Apache configuration according to the project;
- Automatically installs required dependencies, if they don't exist in the server (like
virtualenv
); - Runs custom commands after a successful deployment.