Welcome to Parallax Dining, where web development meets culinary delight! This project was crafted during my second year of graduation. It's completely responsive, ensuring it looks fantastic on both mobile and desktop screens.
The purpose of this project/website is to provide a restaurant a platform to let their business grow online and to build a professional image. It also helps the customers to get a clear idea of the overall atmosphere of the restaurant, before even stepping a foot inside, by navigating through different pages. The web pages provide simple, well-defined navigation with a clear user experience and quality product visuals and descriptions. The project includes 6 web pages that look and work faultlessly on every phone, tablet, desktop, and internet browser.
Have a look: https://ayushichoudhary-19.github.io/parallaxdining.github.io/
Note: The PHP and MySQL code lines in the repository are commented out. Please uncomment them before proceeding with the following steps.
To use this project, follow these steps:
-
Download the Project Files:
- Click the "Download" button on the project's GitHub repository to download a ZIP file containing all the project files.
- Extract the contents of the ZIP file to a location of your choice on your computer.
-
Ensure PHP Installation:
- Before proceeding, make sure you have PHP installed on your system. If not, you can download and install PHP from the official PHP website.
-
Set Up a Web Server (e.g., Apache):
If you don't have a web server installed, you can set up one like Apache. Follow these steps:
-
Download Apache:
- Visit the Apache HTTP Server Project website.
- Choose the appropriate version of Apache for your operating system. For Windows, you may find pre-built binary versions, while for Linux and macOS, you may use package managers to install Apache.
- Download the installer or package for your system.
-
Install Apache:
- Run the installer or package manager as an administrator (on Windows) or with superuser privileges (on Linux/macOS).
- Follow the on-screen instructions to install Apache. You may be prompted to choose installation directories and configure Apache settings during the installation process.
-
Start Apache:
- After the installation is complete, Apache may start automatically. If it doesn't, you can start it manually using terminal or command prompt.
- On Windows, you can use the command:
httpd -k start
- On Linux or macOS, use the appropriate command based on your system's init system (systemd or others).
- On Windows, you can use the command:
- You can check the status of Apache to ensure it's running:
httpd -k status
- After the installation is complete, Apache may start automatically. If it doesn't, you can start it manually using terminal or command prompt.
-
Verify Installation:
- Open a web browser and enter
http://localhost
orhttp://127.0.0.1
in the address bar. If you see the default Apache welcome page, it indicates that Apache is successfully installed and running.
- Open a web browser and enter
Now you have Apache installed and ready to use as your web server.
-
-
Configure Web Server for PHP:
- Configure your web server to run PHP scripts. This typically involves modifying the server's configuration file to enable PHP processing.
- For Apache, you can enable PHP by adding the following line to your Apache configuration (httpd.conf) or a virtual host configuration:
AddType application/x-httpd-php .php
- Restart the Apache server to apply the changes.
-
Place Project Files in Document Root:
- Copy all the project files and folders to the document root of your web server. The document root is the directory where your web server serves files from.
-
Start the Web Server:
- Start your web server. If you're using Apache, you can typically start it using a command like
sudo apachectl start
(on macOS/Linux) or by starting the Apache service in Windows.
- Start your web server. If you're using Apache, you can typically start it using a command like
-
Access the Project:
- Open a web browser and enter the URL where your web server is running. For example, if you're running Apache locally, you can access the project by entering
http://localhost
in your web browser's address bar. - Navigate to the project's main page to start using it.
- Open a web browser and enter the URL where your web server is running. For example, if you're running Apache locally, you can access the project by entering
Now you're ready to explore and use the Parallax Dining website locally on your web server.
Note: The Order Online page needs updation. As of now, it looks well only on a desktop screen.
This project is licensed under the MIT License. Please refer to the LICENSE file for details.