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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fabric-recipes-0.3.1.tar.gz | 5.5 kB | Without provenance | Details for fabric-recipes-0.3.1.tar.gz |
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 |
Security for fabric-recipes 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.