A Django based backend system for bulk mailing using PostgreSQL, Celery, Nginx, Gunicorn, and deployed on a virtual machine.
git clone https://github.com/bulkmailer/BulkMailer-Backend.git
To run the server, you need to have Python installed on your machine. If you don't have it installed, you can follow the instructions here to install it.
pip install virtualenv
virtualenv venv
Activate the virtual environment
source venv/bin/activate
pip install -r requirements.txt
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
SECRET_KEY = ''
DBPASSL = ''
DBHOSTL = ''
DBNAMEL = ''
DBUSERL = ''
DBPORTL = ''
TIME_ZONE = ''
CSRF_TRUSTED_ORIGINS = ''
CORS_ALLOWED_ORIGINS = ''
CELERY_BROKER_URL = ''
python manage.py migrate
python manage.py runserver
You can access the endpoints from your web browser following this url
http://127.0.0.1:8000
python manage.py createsuperuser
A prompt will appear asking for email followed by password. To access the django admin panel follow this link and login through superuser credentials
http://127.0.0.1:8000/admin/
celery -A bulkmailer.celery worker --pool=solo -l info
celery -A bulkmailer beat -l info
If you have any questions, need help, or want to discuss the project, feel free to join our Discord community: