Automated tasks after-deploy for Django.
Project description
After deploy helps you to create and manage automated deploy tasks in your Django application. Inspired by Rails after_party
Quick start
Install the package using pip by running:
pip install django-after-deploy
Add “after_deploy” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'after_deploy', ]
Now after_deploy commands are available, use install flag:
python manage.py after_deploy --install
Run python manage.py -g my_first_task to create your first task, they’ll stay at root project, on tasks folder:
my-project |-- my-app | |-- __init__.py | |-- apps.py | |-- models.py | |-- settings.py |-- tasks | |-- __init__.py | |-- _000001_my_first_task.py |-- manage.py
For execute all unapplied tasks you can run python manage.py --run. If you need execute again a specfic task, you can run python manage.py -r my_first_task.
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
Close
Hashes for django-after-deploy-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29f9872f204e20a88bbdbef95a93a47963b890e387b210abf5c4a2449691bb52 |
|
MD5 | a2ca6045e0b9ad49da2a9cf47e8f1718 |
|
BLAKE2b-256 | a01085afab6720ff7897db1ba0099e433839377bc3657f8de7f4ea4db390d970 |