Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dfop02/django-after-deploy
Automated tasks after-deploy for Django.
https://github.com/dfop02/django-after-deploy
after-party django django-project package python python3 simple tasks
Last synced: 5 days ago
JSON representation
Automated tasks after-deploy for Django.
- Host: GitHub
- URL: https://github.com/dfop02/django-after-deploy
- Owner: dfop02
- License: mit
- Created: 2020-02-19T01:00:22.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-25T19:24:56.000Z (12 months ago)
- Last Synced: 2024-04-26T13:23:01.885Z (8 months ago)
- Topics: after-party, django, django-project, package, python, python3, simple, tasks
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 9
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
============
After Deploy
============After deploy helps you to create and manage automated deploy tasks in your Django application. Inspired by `Rails after_party`_
Quick start
-----------1. Install the package using pip by running::
pip install django-after-deploy
2. Add "after_deploy" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'after_deploy',
]3. Now after_deploy commands are available, use install flag::
python manage.py after_deploy --install
4. 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.py5. 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``.
Authors
-------- `Diogo Fernandes`_
Contribute
----------If you find an issue with AfterDeploy please log an issue. I will accept pull requests.
.. _Rails after_party: https://github.com/theSteveMitchell/after_party.
.. _Diogo Fernandes: https://github.com/dfop02