Skip to content

Setup Commands

Imran Sayed edited this page Oct 18, 2020 · 2 revisions

If you don't choose the one command setup using the bash file you can also use the below command for setup:

Run this from root

docker-compose -f backend/docker-compose.yml up -d 

WordPress Backend will be available on http://localhost:8020

phpMyAdmin: You can access php myadmin on http://localhost:8183

port: mysql:3306
username: root
password: root

phpmyadmin docker image already comes with the username root and we have set the mysql password in the dockerfile

  • If you happen to use your own WordPress setup, be sure to install and activate plugins from composer.json and add your own WordPress site URL in an .env file, You can check the .env-example file for reference.

Run this from root for the first time.

cd frontend; npm i && npm run dev

Evironment vars.

Create a .env file taking reference from .env-example inside frontend directory and add your WordPress Site URL ( for local development put http://localhost:8020 as your WordPress URL)

Clone this wiki locally