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.2.zip
(9.1 kB
view hashes)
Built Distribution
Close
Hashes for django_fab_deployer-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4cc8a14d5561ae31a72524e626be2c57cbeff022e7f1c24257b5ba9188a19e8 |
|
MD5 | 760d53cd587b53c4f069af5927c72f16 |
|
BLAKE2b-256 | 938502dd0257870323ad71687e0fb81cba91c8cbc8a21a40d98afcd529cfce97 |