subodhu / emailer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emailer

Emailer is a django application to send mass email.

Setup Instructions

  • Clone the repository: git clone git@github.com:subodhu/emailer.git
  • Change directory: cd emailer
  • Install docker and docker compose if not already installed.
  • Build docker compose build
  • Create a .env file in the main repository and copy the content of the .env.sample file.
  • And run the application docker compose up

After running the application, you can view the swagger docs in localhost:8000. A simple fixture with admin user and email template is also in fixtures directory. You can load the fixture withdocker-compose run --rm django python manage.py loaddata fixtures/data.json. Now create another user, and you can send emails by calling the /api/v1/emails/ API within swagger or using postman.

About

License:MIT License


Languages

Language:Python 96.0%Language:Dockerfile 3.4%Language:Shell 0.6%