/wp-atp-connect-plugin

**IN DEVELOPMENT* AT Protocol Plugin for WordPress

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

ATP Plugin

IN DEVELOPMENT DO NOT USE IN ANY PRODUCTION ENVIRONMENT

I'M NOT KIDDING, THINGS ARE WONKY...

Built With Plugin Machine

Installation

  • Git clone:
    • git clone git@github.com:antpb/atp-connect.git
  • Install javascript dependencies
    • yarn

Working With JavaScript

  • Build JS/CSS
    • yarn build
  • Start JS/CSS for development
    • yarn start
  • Test changed files
    • yarn test --watch
  • Test all files once
    • yarn test
    • yarn test --ci

Local Development Environment

A docker-compose-based local development environment is provided.

  • Start server
    • docker-compose up -d
  • Acess Site
  • WP CLI
    • Run any WP CLI command in container:
      • docker-compose run wpcli wp ...
    • Setup site with WP CLI
      • docker-compose run wpcli wp core install --url=http://localhost:6014 --title="ATP Plugin" --admin_user=admin0 --admin_email=something@example.com
      • docker-compose run wpcli wp user create admin admin@example.com --role=administrator --user_pass=pass