Skip to content

My default Docker-Wordpress-Boilerplate for Sage/Roots-based Wordpress-Theme- (or Plugin-) development.

Notifications You must be signed in to change notification settings

frolde/Docker-Wordpress-Boilerplate-for-Roots-Sage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress-Boilerplate for Roots/Sage

My default Docker-Wordpress-Boilerplate for Roots/Sage-based Theme- (or Plugin-) development.

Installation

Docker setup

Run make start to start the docker and build the containers - after that, open your browser on http://localhost:8080 and finish installation. --> Can be used for Plugin-development by now. Custom written plugins need to be added to the .gitignores exceptions.

Roots/Sage-setup

Install Roots/Sage by running make setup-roots-sage projectname="NEW_NAME" to ./src/themes/ by following the wizard. --> Ready for theme development. .gitignore is extended by the theme.

Make-Commands

make start starts the containers
make stop stops the containers
make restart restarts the containers
make rebuild rebuilds the containers (keeps db)
make reset resets the containers completely (including db)
make shell runs the shell in wordpress-container

Roots/Sage-Make-Commands

make browsersync starts browsersync
make theme-install updates node-modules
make theme-lint lints the assets
make theme-build builds frontend-assets
make theme-theme-build-production builds frontend-assets for production

About

My default Docker-Wordpress-Boilerplate for Sage/Roots-based Wordpress-Theme- (or Plugin-) development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published