TODO Add description
Project description
Installation
pip install --upgrade django_fab_deployer
Usage
# Generate example deployment configuration:
djdeploy write_example_config
Command above will generate example.json file in current directory. Example of deployment configuration:
{
"dev": {
"celery_enabled": true,
"deploy_path": "/var/www/dev_my_project",
"hosts": "8.8.8.8",
"key_filename": "~/.ssh/id_rsa.PUB",
"project_name": "dev_my_project",
"user": "dev_my_project",
"venv_path": "data/.venv/bin/activate",
"warn_on_deploy": false
},
"production": {
"celery_enabled": true,
"deploy_path": "/var/www/prod_my_project",
"hosts": "8.8.8.8",
"key_filename": "~/.ssh/id_rsa.PUB",
"project_name": "prod_my_project",
"user": "prod_my_project",
"venv_path": "data/.venv/bin/activate",
"warn_on_deploy": true
}
}
Save this file as deploy.json and run:
djdeploy dev deploy # To upgrade pip requirements: djdeploy dev deploy:upgrade=True
# Or
djdeploy production deploy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django_fab_deployer-0.0.11.zip
.
File metadata
- Download URL: django_fab_deployer-0.0.11.zip
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 656617955e42560f4872a1571a0cf4846d17065439a47c1b1470d37323f9f8d8 |
|
MD5 | d426ab956cf5c63dd70cff21bed7ca1d |
|
BLAKE2b-256 | bb63006eba6a13e3479d3c673046f5e45c86dbd720a9e4796ef290324a8a5b63 |
File details
Details for the file django_fab_deployer-0.0.11-py2.py3-none-any.whl
.
File metadata
- Download URL: django_fab_deployer-0.0.11-py2.py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa07713218d281a114326d0f1fbfe6b1f10fca3df9edeb8e305b69ec401238fb |
|
MD5 | 67303c12de4e795e7f9ad40c4a5ab8ab |
|
BLAKE2b-256 | 774847e7b266e56ce3132f2a8596965a17fb5b4b9940d0980b186875f914ab56 |