Skip to content

My first attempt at a dynamic website using php mainly, along side html/js/css and sql, for selling PC Parts/Components as a school project.

Notifications You must be signed in to change notification settings

PreYem/PC_Vendor

Repository files navigation

PC_Vendor

This is a small dynamic website built mainly with php as part of a school mini-project.

Installation

Follow these simple steps to set up the project:

  1. Install Git:

  2. Clone the Repository:

    • Open your VS Code or your preferred text editor.
    • Open your terminal and navigate to the folder in which you'd like to clone the project.
    • Run the following command in your terminal: git clone https://github.com/PreYem/PC_Vendor.git
    • Wait for the cloning process to finish.
  3. Install Tailwind CSS (Optional):

  4. Import the Database:

    • Open your MySQL Workbench.
    • Create a new database schema.
    • Navigate to the import option in the menu bar.
    • Import the database and its tables/data from the .sql file located in the root directory under the name PC_Vendor_DB.sql.

Dependencies

Ensure you have the following dependencies installed on your machine:

  • MySQL Workbench
  • Node.js and npm (Mainly for Tailwind CSS).
  • XAMPP, WAMP, or similar tools to start your local server environment

Usage

Set up your local server and start the project:

  1. Start Your Local Server:

    • Ensure your local server (e.g., XAMPP or WAMP) is running. Check currently running services in your Task Manager.
  2. Move the Project:

    • Move your cloned project to the appropriate directory in your XAMPP folder (htdocs for XAMPP or www for WAMP).
  3. Access the Website:

    • Open your browser and go to http://localhost/PC_Vendor or whichever localhost port you have depending on the servers on your machine, and it will take you directly to the index.php page by default.

About

My first attempt at a dynamic website using php mainly, along side html/js/css and sql, for selling PC Parts/Components as a school project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published