https://github.com/mbrsagor/rabbitmq
Simple Async Django App with Celery and RabbitMQ
https://github.com/mbrsagor/rabbitmq
celery django rabittmq rest-api
Last synced: about 1 month ago
JSON representation
Simple Async Django App with Celery and RabbitMQ
- Host: GitHub
- URL: https://github.com/mbrsagor/rabbitmq
- Owner: mbrsagor
- Created: 2020-08-20T18:25:22.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-24T17:27:08.000Z (over 4 years ago)
- Last Synced: 2025-10-09T22:42:51.897Z (9 months ago)
- Topics: celery, django, rabittmq, rest-api
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RabbitMQ
> RabbitMQ is the most widely deployed open source message broker.
###### You have to must install below in your system.
### Prerequisites
- Python
- Django
- RabbitMQ-server
#### Setup:
The following steps will walk you thru installation on a Mac. I think linux should be similar. It's also possible to develop on a Windows machine, but I have not documented the steps. If you've developed django apps on Windows, you should have little problem getting up and running.
```bash
git clone https://github.com/mbrsagor/RabbitMQ.git
cd RabbitMQ
virtualenv venv --python=python3.8
pip install -r requirements.txt
```
###### Then create ``.env`` file and paste code from `sample.env` file and add validate information.
-------------------------------------------
```bash
|--> .sample.env
|--> .env
```
#### Run:
```bash
./manage.py makemigrations && manage.py migrate
./manage.py createsuperuser
./manage.py runserver
```
##### Run RabbitMQ:
```
rabbitmq-server start
celery -A RabbitMQ worker -l info
```