Skip to content

a-sravan/Shop-for-Home-Website

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 

Repository files navigation

Electronix-Website

In this project, we have an admin panel and user panel. Admin panel related files are present in admin folder

If you want to deploy this website using AWS Services follow the given steps:

  1. Give a proper database connection

For database connection go to admin folder->connection.inc.php

image

In the above image you can see two $con commands. However, you will be keeping only the above one. You have to add your database endpoint, username, password, and database name respectively in line 5.

Along with that you have to change the IP address present on line 13. Replace it with the Public IP address of your EC2 instance

The same process is to be applied to user panel as well. For that come out of the admin folder and go to connection.inc.php image

If you want to deploy this website on localhost (XAMPP) follow the given steps:

  1. Give a proper database connection

For databsae connection go to admin folder->connection.inc.php

image

In the above image you can see two $con commands. However, you will be keeping only the below one. Keep the line 8 command as it is only change the database name (it is ecom in my case)

The same process is to be applied to user panel as well. For that come out of the admin folder and go to connection.inc.php image

About

Adding files from other git account

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 44.5%
  • JavaScript 41.1%
  • PHP 12.4%
  • HTML 2.0%