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
# 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
django_fab_deployer-0.0.4.zip
(9.1 kB
view hashes)
Built Distribution
Close
Hashes for django_fab_deployer-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc25438aa921e1f8c82a69057bcd6b0fb3e9a23b1ddf65c9dd6b2e5409b17318 |
|
MD5 | 22455e0310a0bd8c3dd1c68be92c95f5 |
|
BLAKE2b-256 | 4d52a5fdad8d5cb1746cf41dead3ebbb003e14bc8efd7c876fe3cf087d5f8b51 |