- Project Overview
- Features
- Local Development Setup
- Installation Instructions
- Usage
- Deployment
- Folder Structure
- Contributing
Oasis-Internship WordPress Site is a dynamic and responsive WordPress landing page designed to showcase the highlights of an internship program. This project was developed locally using Local by Flywheel and is version-controlled with GitHub.
- Responsive Design: Ensures the site looks great on all devices.
- Customizable Content: Easily update text, images, and other media through the WordPress dashboard.
- Fast Loading: Optimized for quick load times.
- SEO Friendly: Built with best practices for search engine optimization.
To set up this WordPress site locally using Local by Flywheel, follow these steps:
-
Install Local by Flywheel:
- Download and install Local by Flywheel from Local by Flywheel's official site.
-
Clone the Repository:
- Clone this repository to your local machine:
git clone https://github.com/Haleema33/Oasis-Internship.git
- Clone this repository to your local machine:
-
Set Up Local by Flywheel:
- Open Local by Flywheel and create a new site using the "Custom" setup options.
- Use the
app/public
directory from the cloned repository as the root directory for the site.
-
Configure Database:
- Set up the WordPress database credentials in
wp-config.php
to match the database created by Local by Flywheel. - Typically, these credentials will be:
- Database Name:
local
- Username:
root
- Password:
root
- Host:
localhost
- Database Name:
- Set up the WordPress database credentials in
-
Import the Database:
- If you have a database export (like
database.sql
), import it into your Local by Flywheel setup via phpMyAdmin or the Local by Flywheel database manager.
- If you have a database export (like
To install this project locally:
-
Clone the repository:
git clone https://github.com/Haleema33/Oasis-Internship.git
-
Navigate to the project directory:
cd Oasis-Internship
-
Start Local by Flywheel and add the cloned project directory as a new site.
-
Update your
wp-config.php
file with the correct database credentials. -
Open the site in your browser via Local by Flywheel to complete the WordPress installation steps.
- Access the WordPress admin dashboard via
http://your-local-site/wp-admin
(replaceyour-local-site
with your Local by Flywheel site URL). - Use the WordPress dashboard to add or update content, install plugins, and manage the site.
To deploy this site to a live server:
-
Export the Database:
- Use a plugin like WP Migrate DB to export the database.
- Ensure that you update the URLs in the database to match your live site.
-
Upload Files to Server:
- Use FTP or your hosting provider’s file manager to upload the site files to the live server.
-
Import the Database:
- Import the database to your live server’s database using phpMyAdmin or a similar tool.
-
Update
wp-config.php
:- Ensure the
wp-config.php
file on the live server has the correct database credentials for your live database.
- Ensure the
Oasis-Internship/
├── .gitignore
├── README.md
├── wp-admin/
├── wp-content/
│ ├── plugins/
│ ├── themes/
│ ├── uploads/
│ └── ...
├── wp-includes/
├── wp-config.php
└── ...
wp-admin/
: Core WordPress admin files.wp-content/
: Your content, themes, plugins, and uploads.wp-includes/
: Core WordPress includes.wp-config.php
: WordPress configuration file.
If you wish to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.