/php-quiz

PHP Quiz System

Primary LanguageCSSMIT LicenseMIT

PHP-Quiz

PHP Quiz Conducting System.

Deployed at Azure: Here

Prerequisite

  1. PHP
  2. MySQL
  3. phpMyAdmin or any other tool for database importing

System Preparation

To get started with this project, you'll need the following things installed on your machine.

  1. NodeJS - use the installer.
  2. GulpJS - $ npm install -g gulp (mac users may need sudo)

Local Installation

  1. Clone this repo, or download it into a directory of your choice.
  2. Inside the directory, run npm install.

Deployment

Make sure you have Virtual Hosts set up in Apache because path like localhost/php-quiz will not work!

Now open gulpfile.js and change

  1. deployPath variable to your localhost root line: 10
  2. browserSync proxy target with your virtual host link line: 57

Usage

Once you set up everything inside directory, run

$ gulp

This will give you file watching, browser synchronisation, auto-deploy etc.