Skip to content

Latest commit

 

History

History
20 lines (20 loc) · 934 Bytes

File metadata and controls

20 lines (20 loc) · 934 Bytes

Installation Guide

1. Clone project

2. cd to project folder

3. Delete sqlite file if exists

4. Install project packages. pip install < requirements.txt

5. Migrate database tables. Run in cmd:

  • python manage.py makemigrations
  • python manage.py migrate

6. Create a site admin user: python manage.py createsuperuser and type admin(is easy to remember) and fill in the rest

Run server: python manage.py runserver

Go to 127.0.0.1:8000

For the hostel project a student can register and then login


For the hostel admin they shall login using the admin user account

For the attendance system, the student is added by admin and they can later login.


After creating a student the default password is: password but the email is the student's email