Git Product home page Git Product logo

payroll_management_system's Introduction

payroll_management_system

A company payroll management system made with Django and MySQL which lets the admin set income and credentials for the employee and provides leave request and approval functionality.

Installation Steps:

  • Install Django
  • Install mysqlclient using:
    • pip install mysqlclinet
      
  • clone this project.
  • Go to settings.py payroll_management_sys -> settings.py Change the database user credentials, this block of code:
    DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.mysql',
          'NAME': 'payrolldb',
          'HOST': '127.0.0.1',
          'PORT': '3306',
          'USER': 'root',
          'PASSWORD': 'password',
        }
    }
    
  • create database : payrolldb
  • run these commands in cmd in payroll_management_system folder:
    python manage.py makemigrations
    python manage.py migrate
    python populate_user.py #To make dummy employee and admin account
    
  • run populate_table SQL script in mysql
  • Finally on cmd run,
python manage.py runserver
  • If successful , the site will be running on localhost:8000/

Admin credentials:

Admin Id Password
0 password

employee credentials:

employee Id Password
1 password
2 password
3 password
4 password
5 password
6 password
7 password
8 password
9 password
10 password
11 password

payroll_management_system's People

Contributors

chirayurathi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.