Skip to content

Latest commit

 

History

History
47 lines (28 loc) · 1.48 KB

README.md

File metadata and controls

47 lines (28 loc) · 1.48 KB

Description and requirements

Repo contains codebase for BarberShop WordPress website.

Also serves as a ready to use development environment (start-up and use).

Only requirements are:

Usage

Start

From within the base folder of the repo run the command:

docker-compose up

This will:

  • start a fresh WordPress install (latest WordPress version)
  • mount the /wp-content folder (containing necessary plugins/themes) inside it.

Access

Give the containers a couple mins to start up and you'll have:

Development

Main custom development should be done within the local WordPress theme directory, which sits at:

/wp-content/themes/barbershop

The theme is based on Sage starter theme and you can see its documentation and development instructions in the README

Deployment

  • I have a copy of this repo hosted on a Vultr VPS as a staging environment here: http://95.179.178.170/
  • Code changes can be pushed/pulled to the server directly via SSH Git
  • For database changes I'm using: wp-sync-db