Git Product home page Git Product logo

granite's Introduction

granite

A Composer based setup for Wordpress theme development, borrowing heavily from Bedrock.

Composer.json Setup Explained

Section 1 (Name - Authors): Basic meta data and a GPL3 license

Section 2 (Config - Scripts): Prefer installing from a stable distrubution & add salts to the end of the .env file when finished installing.

Section 3 (Repositories): Set up non-Packagist repos: WPackigist (a mirror of the wordpress plugins/themes) and a custom one for the WP core. This is where you would change WP versions.

Section 4 (Require): All the dependencies for the project. This is where you would add plugins with their semantic version. Webroot-installer and composer installer help install WP Core, while dotenv allows us to store sensitive configs in a .env file from which we import into wp-config.

Section 5 (Extras): Just set the directory structure up.

granite's People

Contributors

dropofwill avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.