/wordpress-outsourcing-test

Test project where WordPress outsourcing practices were implemented.

Primary LanguageHackMIT LicenseMIT

WordPress Outsourcing Test Project

Overview

This Git repository contains the codebase for a test project where WordPress outsourcing practices were implemented. The project heavily relies on the Roots framework, and specific guidelines were followed for installation, theme selection, and plugin management.

Theme screenshot

Project Details

Development Environment

WordPress installation based on Bedrock for a modular and standardized structure.

Package Management

Utilizing Composer for seamless installation of plugins, themes, and languages. Plugins and themes from wordpress.org sourced from the WordPress Packagist repository. Languages installed from the WordPress Language Packs Composer Repository.

Sage Theme

Sage theme used as the foundation, with Acorn installed as a plugin.

Tailwind CSS

Tailwind CSS intentionally omitted, unless its benefits significantly outweigh the drawbacks.

Laravel Features

Leveraging Acorn for Laravel features such as Blade templates, Blade components, and View composers.

Reproducibility

WordPress installation and main theme can be reproduced from the git repository using Composer and npm (or yarn). Excluding dependencies from git, with committed lock-files for version consistency.

Repository Structure

Bedrock/WordPress and the main theme coexist within a single git repository.

Plugin Selection

Each WordPress plugin installed in this test project is carefully justified. Discouraging the use of ready-made themes to mitigate security risks and potential future dependencies.

Usage

Clone the repository:

git clone https://github.com/ac1dpax/wordpress-outsourcing-test.git
cd wordpress-outsourcing-test

Install dependencies:

composer install
npm install

Build assets:

npm run build

Run WordPress:

Set up your local environment (e.g., MAMP, XAMPP). Configure the database in .env file. Access the WordPress site in your browser.

Important Note

This README serves as documentation for the specific implementation choices made in this test project. Ensure adherence to the outlined guidelines for a secure, consistent, and easily reproducible WordPress environment.

License

MIT