Skip to main content
# Fabric Recipes

a quick solution to perform deploy a Django app using nginx and gunicorn

## How to Use:

install the app in your enviroment:

```bash
$ pip install git+https://github.com/petry/fabric-recipes.git
```

create a git repository to your project with `manage.py` and `requirements.txt` on root folder download our `fabfile.py`:

```bash
$ wget https://raw.github.com/petry/fabric-recipes-example/master/fabfile.py
```

If you like, change some fabric variables such as `env.user` and `env.password` on `fabfile.py`

then, run the commands to deploy your app on your server:

```bash
$ fab deploy
```

and this command to check if everything is working

```bash
$ fab status
```

or

fork [these example project](https://github.com/petry/fabric-recipes-example) with this structure :)

https://github.com/petry/fabric-recipes-example

***


**NOTE**
```
I tested this script using a virtual machine with ubuntu 10.04, feel free to create a version
for your distribution of choice :)
```

Metadata

Release files for fabric-recipes 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fabric-recipes 0.3.1
File Size Uploaded
fabric-recipes-0.3.1.tar.gz 5.5 kB Details

Release files / fabric-recipes-0.3.1.tar.gz

Download URL fabric-recipes-0.3.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
afbc875435a096ad6e5a4ffd423a284865ecda398e56ba4e113538c03e0fdf9c
BLAKE2b-256 checksum
How to use checksums
8dcb651b1f8a98ddc141792a29ccc33b2eeeecad5563e4160ef35a5c949e18b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.3

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page