Skip to content

Kuunika/dhis2-email-worker

Repository files navigation

Email Worker

Email worker is a background process that runs against email queue. It sends emails based on the data read in the queue

version

Dependencies

Email worker uses a number of projects and dependencies to work properly:

Installation

step 1: clone the project

Clone this repository into your local directory, Use the commands below:

# clone project to a computer
git clone https://github.com/Kuunika/dhis2-email-worker.git

# navigate to the project root directory
cd dhis2-email-worker

step 2: dependencies installation

Install all the dependencies

# install dependencies
npm install

step 3: environmental variables

Create a .env file with the contents of your .env.default file.

# copy the .env.example to .env file
cp .env.default .env

Modify the .env file and make sure it reflects the environment settings.

step 4: start the work

# start the worker
npm start

About

DHIS2 email worker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •