Training and Placement Cell for college
- Download and setup the latest stable release of XAMPP/LAMPP/MAMPP/WAMPP from here depending on your OS.
- Clone the repository into the htdocs folder of your server.
- Create the connectVars.php file in the main directory. This file contains connection constants for the SQL database.
<?php
define('DB_HOST', '');
define('DB_USER', '');
define('DB_PASSWORD', '');
define('DB_NAME', '');
?>
- Create the appVars.php file in the main directory. This file contains application constants.
<?php
// Define Captcha font
define('CAPTCHA_FONT', 'Courier New Bold.ttf');
?>
- Setup your database by either importing the TPC_DB.sql file using phpMyAdmin or manually copy and paste the code in the SQL terminal.
- DB_HOST - Url of the SQL database server
- DB_USER - Username
- DB_PASSWORD - Password
- DB_NAME - Name of the database
- Download the font file(Courier New Bold.ttf) or any other font for captcha generation into the util directory.
- CAPTCHA_FONT - Name of the font file for captcha
- Create a directory "lib" in the main directory and download the tcpdf library in it.
- If your app throws error during uploading photos/resumes by student or company, try creating images and resume directory manually and then create two subdirectories recruiters and students inside the images directory.
- Start your XAMPP server.
- Go to http://localhost/TPC-management-app/ on your browser to open the app.