Skip to content

VIT Exchange Portal is a web application that will allow VIT Students to interact with each other. The application shall be helpful for a variety of purposes. It consists of mainly three forums: Reviews exchange forum, Discussions forum and cab sharing forum.

Notifications You must be signed in to change notification settings

divyanshidm/VIT-Exchange-Portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIT-Exchange-Portal

VIT Exchange Portal is a web application that will allow VIT Students to interact with each other. The application shall be helpful for a variety of purposes. It consists of mainly three forums: Reviews exchange forum, Discussions forum and cab sharing forum.

Click here to take a tour of VIT Exchange Portal.
Use username "15BCE0342" (without quotes) and password "qwerty" (without quotes) to login.

Dependenices

  • XAMPP web server
  • PHP
  • MYSQL
  • HTML
  • CSS

Instructions on how to setup

Server Setup

  • Start Xampp Server Control Panel.
  • Start Apache and MySQL in the Xampp Control Panel.

Database Setup

PHPMyAdmin is recommended to execute the SQL scripts. Execute the database.sql file inside dataBase folder in the directory root using the MySQL command line or PHPMyAdmin in order to create the required tables.

Note

Some PHP files given in the src folder contains the following code segment.

$url=parse_url(getenv("CLEARDB_DATABASE_URL"));
$server = $url["host"];
$username = $url["user"];
$password1 = $url["pass"];
$db = substr($url["path"],1);

The part is to connect to the database which is hosted over heroku cloud. To run the website locally you should edit these lines.

// Remove the $url = ... line
$server = "localhost";
$username = "root";
$password1 = "YOUR PASSWORD FOR LOCALHOST IF ANY";
//Leave the quotes empty without spaces if you do not have any password set for localhost.
$db = "NAME OF THE DATABASE";
//In the dataBase file name of database is "vep" leave it as it is or change it accordingly in the above line.

Folder setup

  • Copy the contents of src folder to C:\xampp\htdocs in your local computer. Also copy the contents of images folder inside src to the same folder.
  • Open http://localhost/index.php on your browser. Make sure Apache and MySQL are turned on in Xampp Control Panel.
  • The homepage of VEP should open. You can browse through the entire website.
  • Use username "15BCE0342" (without quotes) and password "qwerty" (without quotes) to login.

About

VIT Exchange Portal is a web application that will allow VIT Students to interact with each other. The application shall be helpful for a variety of purposes. It consists of mainly three forums: Reviews exchange forum, Discussions forum and cab sharing forum.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published