Giter Club home page Giter Club logo

genesis-starter's Introduction

Genesis Starter

Custom Genesis starter for child theme development. Starter theme utilizes composer for PSR-4 autoloading and webpack for asset compilation and hot module reloading.


Installation

  1. Clone genesis-starter to wp-content/themes directory.
    1. git clone [email protected]:joedooley/genesis-starter.git
  2. Rename child theme, update style.css banner config in the webpack.mix.js file, and update all namespaces.
    1. ie... Change namespaces from DevDesigns\GenesisStarter to YourCompany\ChildThemeName
    2. Don't forget to change the namespace in autoload.psr-4 in composer.json
  3. Run npm install from plugin root directory.
    1. The postinstall npm script runs composer install automatically.
  4. During development:
    1. run npm run watch, npm run hot, or npm run dev to start compiling assets with webpack.
  5. During production:
    1. run npm run production to compile minified assets to child theme dist directory.

Notes

  • All class files in the src directory will be autoloaded by composer.
  • Composer will not autoload PHP files that are not classes unless you add each file to the files array in your composer.json. You will have to run composer update as well.
  • If your not utilizing CI in your deployments remove composer's vendor directory from .gitignore and commit the entire vendor directory into version control.

genesis-starter's People

Contributors

joedooley avatar

Watchers

 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.