A mini HR management software.
python >= 3.5
python3-dev & default-libmysqlclient-dev
#Debian Users- Mac Users follow this link to get the prerequisites
Open terminal in desired directory and run these commands
git clone https://github.com/kodjunkie/mini-hr.git
cd mini_hr
pip3 install -r requirements.txt
Then open .dbconfig
environment file and update database details, then run
python3 manage.py collectstatic
python3 manage.py migrate
Create super user who will manage the staffs
python3 manage.py createsuperuser --email name@domain.com --username name
Finally, start the server with this command
python3 manage.py runserver
Visit these links in your browser
http://localhost:8000 - Users
http://localhost:8000/admin - Adminstrator / Super user
- Only the super user can create staffs
- Staffs can then login to update their profile with other required details
- The super user can browser staff data
- Search by 'email', 'phone', 'department', 'position'
- And also filter by 'department', 'is active' and 'work status'
- The super user can send emails to all or selected users
- For the sake of demo, the message is logged to the console
- I have also added some tests
To run unit tests, use
python3 manage.py test users
❤️