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 after_deploy -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 after_deploy --run. If you need execute again a specfic task, you can run python manage.py after_deploy -r my_first_task.
Contribute
If you find an issue with AfterDeploy please log an issue. I will accept pull requests.
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
File details
Details for the file django-after-deploy-0.0.2.tar.gz
.
File metadata
- Download URL: django-after-deploy-0.0.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c7940cb1a4455de3f2993eaa0a026f9b49ca2dc14099b06652dbbc560686797 |
|
MD5 | d594dbaf59f79883539257c96e5d59ec |
|
BLAKE2b-256 | 3579d981451ae1be183d13210c518359aa8d0eeb297d46f28773850f809c69ea |