The WordPress theme for DKUK Salon, London.
- Jacob Charles Wilson
- @jclwilson
- hello@jacobcharleswilson.com
- This is designed for a web developer. If you need guidance, use the contact details above.
- The
dist
directory is ignored from this repository, it only exists after building.
npm
docker
docker-compose
- Run
sudo docker-compose up
to install WordPress and mysql.- Afterwards, use
sudo docker-compose stop
orsudo docker-compose start
to turn the servers on and off, do not use, or you'll delete the data and regret it later!sudo docker-compose down
- Afterwards, use
- Run
npm install
to install all development dependencies.- Production dependencies are currently bundled at a fixed version.
- This also runs the scripts that create the
dist
bundle, including the zipped theme file.
Below is a list of some of the most useful basic npm script commands.
npm run build
- Builds the
dist
directory using the current code in thesrc
directory.
- Builds the
npm run zip
- Runs
npm run build
before zipping the contents of thedist
directory into a installable WordPress theme ZIP file.
- Runs
npm run server:start
- Starts running the local development server.
- automatically run when using
npm run build
npm run server:stop
- Stops running the local development server.