Skip to content

Task Management System is a platform built in Django/DRF that allows users to assign tasks, follow up on tasks, report on daily task progress, receive notifications of task completion among other features

Notifications You must be signed in to change notification settings

johnmwenda/taskmanagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Management System for Company DgO

This API is built using Django and Django Rest Framework

Prerequisites

Postgres Redis Django-Celery Docker Docker-compose

Installation and Setup

  1. Clone the repo
  2. Go to app/tasksystem/ and edit environment.py to select preferred environment
  3. cd to root and build docker
docker-compose build

This will download and install all the required images 3. cd to root and run docker

docker-compose up

This will download and install all the required images

  1. In app/tasksystem/settings/local.py add the defaults you would like configured.
export SECRET_KEY='akjshdkqiu3ye723y42i34'
export DEBUG = False
EMAIL_HOST = env.str('EMAIL_HOST', 'smtp.gmail.com')
EMAIL_PORT = env.str('EMAIL_PORT', '587')
EMAIL_HOST_USER = env.str('EMAIL_HOST_USER', 'your_email@host.com')
EMAIL_HOST_PASSWORD = env.str('EMAIL_HOST_PASSWORD', 'password')
EMAIL_USE_TLS = True
EMAIL_USE_SSL = False

For database settings; ensure your host is 'postgres' which is the docker service running the database server

export POSTGRES_DB_NAME = 'tasksystem'
export POSTGRES_DB_USER = 'tasksystem'
export POSTGRES_DB_PASSWORD = 'tasksystem'
export POSTGRES_DB_HOST = 'postgres'
export POSTGRES_DB_PORT = 5432

Ensure you set the celery broker(redis) url in django settings. Since we are running on docker the address of redis will be the name of the docker service

CELERY_BROKER_URL = 'redis://redis'

Docs

Please follow this link to view the docs

About

Task Management System is a platform built in Django/DRF that allows users to assign tasks, follow up on tasks, report on daily task progress, receive notifications of task completion among other features

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published