Skip to content

Latest commit

 

History

History
executable file
·
45 lines (39 loc) · 975 Bytes

File metadata and controls

executable file
·
45 lines (39 loc) · 975 Bytes

Build network

sudo docker network create tcx-wordpress

Run Docker compose

sudo docker-compose up -d

Generate a htpasswd file:

sudo docker run --rm -ti xmartlabs/htpasswd ggadmin greenglobal@?! > wordpress/.htpasswd
username: ggadmin
password: greenglobal@?!

Admin info

url: http://localhost:8080/gglogin
username: ggadmin
password: greenglobal@?!

Install plugin

WP Fastest Cache

sudo docker exec wp-source bash -c "wp plugin install wp-fastest-cache --activate"

Using Saga WordPress Starter Theme

git clone https://github.com/roots/sage <path to themes dir>/<theme name>
cd <path to themes dir>/<theme name>
yarn
composer install
yarn run build:production

Active theme

sudo docker exec wp-source bash -c "wp theme activate <theme name>"

Installation video

Installation video