fabric-git-betwixt example/
fabric-git-betwixt: Selective fabric deployment of a compiled project using a git repository betwixt and between your source code and target machine.
This folder shows an example setup. You could copy the contents to a deployment/
folder in your own project and modify it there.
- Edit the variables in
fabfile.py
. - Edit what folders/files you would like to deploy in
copy-files-to-target.sh
. - Run
./install.sh
. - Run
./wrapper.sh -l
to see available fabric tasks. - Run
./wrapper.sh localhost deploy
to test your deployment scripts. - Use
production
when you are confident everything works.
Ignore betwixt deployment specific subfolders.
Example file to copy files to the target output directory. Copy only file you want to deploy. Requires editing.
Defines fabric @tasks
for localhost
and production
. Has most of the setup. Requires editing.
Installs virtualenv, a virtual python environment for deployment and adds betwixt with dependencies.
See README.md
.
Lists required python packages for pip
.
A wrapper that makes sure the right virtual environment is used.