ryan-haskell / phoni-wordpress

an experiment with headless wordpress + mongodb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Headless Wordpress

Woohoo!


Local Setup

  1. Run docker-compose up

  2. Optional: Restore with docker exec oniwordpress_cms_1 wp --allow-root import dump.sql

Doing stuff

  1. Use Wordpress: http://localhost:8080/wp-login.php

    • Admin Username: admin

    • Admin Password: password

  2. Allow magic to sync content with two databases in a MongoDB instance.

  3. Check out the live website: http://localhost:3000

  4. Or check out the preview website: http://localhost:4000

About

an experiment with headless wordpress + mongodb


Languages

Language:JavaScript 42.7%Language:PHP 36.5%Language:Dockerfile 11.1%Language:Shell 9.7%