XAMMP
.git
(optional).
- Go to
C:\xampp\htdocs
. - Open
cmd
and type the following to clone this repogit clone https://github.com/RNaveen99/tutor.git
- Change the contents of
C:\xampp\htdocs\index.php
file as :<?php header('location:/tutor/src/welcome.php') ?>
- Open XAMMP and start
Apache
andMYSQl
. - Open browser and type
localhost
and hit enter.
-
The database setup will be done automatically according to
C:\xampp\htdocs\tutor\src\config.php
file. -
The
config.php
file has the following values for database connectivityDB_USERNAME
asroot
DB_PASSWORD
as '' (empty string)
-
config.php
file creates :project
databaseusers, topics, quiz
andrequesttopic
tables
-
The
privileges
field inusers
table decides the access level for that user.1
foradmin
access0
for normaluser
access
-
The
password
field inusers
table stores hashed passwords. -
The various external resources used by the files stored in
src
directory are available in theresources
directory in the.zip
file format. You need not to extract these and move extracted contents tosrc
directory as those are already present in it.