Notification Django app
Prerequisites
- Docker; if you don’t have it yet, follow the installation instructions;
- Docker Compose; refer to the official documentation for the installation guide.
Setup
-
Clone the repo
-
Build and Run following with the local env vars checked in VCS
$ docker-compose -f local.yml build django $ docker-compose -f local.yml up -d django
-
Create a superuser with following command.
$ docker-compose -f local.yml run django python manage.py createsuperuser
-
To create notifications from UI visit(http://localhost:8000/users/notification/create/)
-
Create some another user which will create Notification via post-save signal from User model with msg "Your account is created"
-
To view the notifications in django admin, visit (http://localhost:8000/admin/notifications/notification/)
Additional third party package used
Credits
- This project was bootstrapped with cookiecutter-django.