Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
89 lines (56 loc) · 1.46 KB

README.md

File metadata and controls

executable file
·
89 lines (56 loc) · 1.46 KB

Kicks App

Wordpress Kickstarter Theme

Development

Download Docker CE for your OS. Download NodeJS for your OS.

Install

Install wordpress

docker-compose run --rm wp install-wp

After installation you can log in with user wordpress and password wordpress.

If you like, you can import Wordpress Standard Demo Content like this:

docker-compose run wp import vendor/wptrt/theme-unit-test --authors=skip

Install front-end dependencies

npm i

Development Server

Point terminal to your project root and start up the container.

docker-compose up -d

Point your browser to http://localhost:8080.

Watch front-end dependencies

npm run watch

Docker

Update composer dependencies
docker-compose run composer update
Globally stop all running docker containers
docker stop $(docker ps -a -q)
Update Wordpress

Due to some permission issues, you need to chmod your container's web-root prior to running the updater:

docker-compose exec wordpress bash

From the container shell, change permissons all down the tree.

chmod -R 777 .

After CTRL+D, you're ready to update Wordpress, either from the admin-interface or using wp-cli:

docker-compose run wp core update

Production

Create a build for production

npm run build