/Software-Engineering-Project

CS[258] Software Engineering Project

Primary LanguagePHPMIT LicenseMIT

CS[258]

IITI Leave Processing System

Dependencies (Server Side)

  1. PHP5
  2. Slim 3
  3. Monolog
  4. Twig
  5. PHP Renderer
  6. MySQL
  7. PHPMailer & SendMail

Installation

Part - 1: Basics
  1. Download the repository and install all the above dependencies for the folder sep.
  2. Set Document Root of your server to be sep/src/public/.
Part - 2: Configuring the database
  1. Import fulldb.sql found at sep/src/ in a MySQL database. Name it LMS.
  2. Enter your MySQL username and password in the database configuration file. It's named config.php and can be found at sep/src/db_stuff.
Part - 3: Configuring the mailer
  1. Edit the file mail configuration file located at sep/src/_mail__. It's also named config.php. Fill in your email account details where you wish to send notifications from.
Part - 4: Testing the setup
  1. There are a few dummy accounts already created to get you started.
    1. ADMIN ACCOUNT => username : admin@lps.iiti.ac.in, password : admin
    2. SAMPLE RECOMMENDING AUTHORITY ACCOUNT => username : recommender@lps.iiti.ac.in, password: recommender
    3. SAMPLE APPROVING AUTHORITY ACCOUNT => username : approver@lps.iiti.ac.in, password: approver
    4. SAMPLE GENERAL USER ACCOUNT => username : user@lps.iiti.ac.in, password: testuser