Skip to content

mickaelzhang/wp-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wp-boilerplate

This boilerplate was built for my own WordPress project, feel free to use it and change it as your own convenience. The structure is heavily inspired by Bedrock.

What does the boilerplate contain

Requirement

To run this boilerplate, you need :

  • At least PHP 5.6
  • composer installed
  • yarn or npm installed

Installation

First, install all the dependencies by running :

composer install
yarn install

And then, run :

project:setup

It will setup a .env file, it is where you put sensitive information such as database login.

Scripts

The boilerplate contain some script that help you during the development process.

  • composer project:setup : Use it at the initial setup of the project, it will add a .env file
  • composer env:regenerate : Regerate the .env file
  • yarn run start : Start the dev environment
  • yarn run build : Build all assets (css, js, font, image)
  • yarn run images : Copy image to the dist directory

About

Boilerplate for WordPress project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published