Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
robertDouglass committed Jul 28, 2024
1 parent 930179f commit ac4a099
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,20 @@ This advanced tutorial demonstrates how to configure a Django project to use Pos

For detailed steps, refer to the [Install Django with PostgreSQL and PGVector on Upsun tutorial](https://robertdouglass.github.io/on_upsun/posts/install-django-postgresql-pgvector-upsun/).

## Getting Started

### Clone the Repository

```bash
git clone https://github.com/robertDouglass/on_upsun.git
cd on_upsun
```
### 3. Background Tasks using Celery with Redis in Django on Upsun

This tutorial shows the [power of using Celery background tasks in Upsun workers](https://robertdouglass.github.io/on_upsun/posts/django-redis-celery/). It covers:

- Setting up a minimal Django application on Upsun
- Using PostgreSQL database, Python Gunicorn application server, and Redis
- Implementing a file upload feature with background processing
- Extending Django behavior with Signals
- Using Celery Queue and Beat for background tasks
- Creating Workers with shared file system mounts on Upsun
- Running Redis on Upsun
- Configuring Django settings for Celery and Redis
- Monitoring Celery tasks in action
- Interacting with Redis using the CLI on Upsun

## Contact me

Expand Down
2 changes: 1 addition & 1 deletion hugosite/content/posts/django-redis-celery.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This small app shows the following very powerful patterns:
3. Creating Workers with shared file system mounts on Upsun
4. Running Redis on Upsun

The full application code is here.
The [full application code is here](https://github.com/robertDouglass/on_upsun/tree/main/03_django_redis_celery). All you need to do is to push it as-is to a fresh Upsun project.

## Extending Django behavior with Signals

Expand Down

0 comments on commit ac4a099

Please sign in to comment.