From dc3bc81802118a449c943b332840bfcc9c8abf97 Mon Sep 17 00:00:00 2001 From: App Generator <51070104+app-generator@users.noreply.github.com> Date: Tue, 27 Feb 2024 09:38:18 +0200 Subject: [PATCH] Release v1.0.16 --- CHANGELOG.md | 6 ++++++ README.md | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76f0d50..d189081 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [1.0.16] 2024-02-27 +### Changes + +- Update DOCS (readme) + - Added `Celery` Section + ## [1.0.15] 2024-02-10 ### Changes diff --git a/README.md b/README.md index 4bbc98b..53217b4 100644 --- a/README.md +++ b/README.md @@ -167,6 +167,23 @@ By default, the app redirects guest users to authenticate. In order to access th
+## Start Celery (async task) + +- Make sure you have a Redis Server running: `redis://localhost:6379` + - `$ redis-cli` and type `ping` +- In the base directory inside `tasks_scripts` folder you need to write your scripts file. +- Run the celery command from the CLI. + +```bash +$ export DJANGO_SETTINGS_MODULE="core.settings" +$ celery -A apps.tasks worker -l info -B +``` + +- You will see a new route `Apps -> Tasks` in the sidebar. +- You can start and cancel any task from the UI. + +
+ ## Enable Social Login > 👉 **Github Setup** - [Create an OAuth App](https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app)