Closed AlexanderSychev2005 closed 1 month ago
1) Added notification system (model for notifications, celery task for creating notifications objects in mongodb and email an investor about project updating). 2) implemented and configured Celery and Redis.
To use Redis, download it from: https://github.com/tporadowski/redis/releases Run it with ...Program Files/Redis/redis-cli.exe
...Program Files/Redis/redis-cli.exe
Instructions on how to use celery and redis:
python manage.py runserver
celery -A forum worker -l info -P gevent
Endpoints: ..api/notifications/new/ - Only new unread messages, sorted by date ..api/notifications/all - All notifications for user, sorted by date
..api/notifications/new/
..api/notifications/all
1) Added notification system (model for notifications, celery task for creating notifications objects in mongodb and email an investor about project updating). 2) implemented and configured Celery and Redis.
To use Redis, download it from: https://github.com/tporadowski/redis/releases Run it with
...Program Files/Redis/redis-cli.exe
Instructions on how to use celery and redis:
python manage.py runserver
celery -A forum worker -l info -P gevent
Endpoints:
..api/notifications/new/
- Only new unread messages, sorted by date..api/notifications/all
- All notifications for user, sorted by date