XAMMP.git(optional).
- Go to
C:\xampp\htdocs. - Open
cmdand type the following to clone this repogit clone https://github.com/RNaveen99/tutor.git - Change the contents of
C:\xampp\htdocs\index.phpfile as :<?php header('location:/tutor/src/welcome.php') ?> - Open XAMMP and start
ApacheandMYSQl. - Open browser and type
localhostand hit enter.
-
The database setup will be done automatically according to
C:\xampp\htdocs\tutor\src\config.phpfile. -
The
config.phpfile has the following values for database connectivityDB_USERNAMEasrootDB_PASSWORDas '' (empty string)
-
config.phpfile creates :projectdatabaseusers, topics, quizandrequesttopictables
-
The
privilegesfield inuserstable decides the access level for that user.1foradminaccess0for normaluseraccess
-
The
passwordfield inuserstable stores hashed passwords. -
The various external resources used by the files stored in
srcdirectory are available in theresourcesdirectory in the.zipfile format. You need not to extract these and move extracted contents tosrcdirectory as those are already present in it.