Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

Moonbase/skeleton-wordpress-theme

Repository files navigation

Moonbase Co. WordPress starter theme

Creating a project

To create a new project from this skeleton, follow these steps:

  • git clone <repository-url> this repository.
  • Change into the new directory.
  • Run ./setup.sh. This will create a 'skeleton' branch and a 'master' branch. The 'skeleton' branch is used to update from the skeleton later on.
  • You can remove this section of the readme and the setup script, the project is now set up.

Required WordPress plugins

This theme requires the following WordPress plugins:

Development requirements

The following is required for your development environment:

  • Docker and Docker Compose

or

Installation

  • git clone <repository-url> this repository.
  • Change into the new directory.
  • docker-compose build or yarn install, depending on if you're using Docker or not.

Developing

The following commands are available for development:

  • docker-compose up: Starts a development server using Docker Compose.
  • yarn run build: Build all front-end assets.
  • yarn run watch: Starts a watcher that builds all front-end assets when they are changed.

If you are using Docker, you can also run the yarn commands in the Docker container: docker-compose exec web sh -c "cd /var/www/html/wp-content/themes/wordpress-theme && yarn watch".

Updating from the skeleton

This project was created using the skeleton-wordpress-theme project skeleton. If you want to update this project to the latest changes made to the skeleton, follow these steps:

  • Pull remote 'skeleton-wordpress-theme/master' into local branch 'skeleton'.
  • Switch to the local branch 'master'.
  • Merge the local branch 'skeleton' into 'master'.

About

A skeleton for WordPress themes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published