0.0.11 • Published 2 years ago

caweb-cli v0.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

caweb-cli

The caweb-cli is built using @wordpress/env:5.2.0 and lets you easily set up a local CAWeb Publishing WordPress environment for developing, testing and building. The caweb-cli will automatically generate a .wp-env.json file, additional customizations can be added by adding/editing a .wp-env.override.json file.

Prerequisites

  1. caweb-cli requires Docker to be installed. There are instructions available for installing Docker on Windows, macOS, and Linux.
  2. ElegantThemes Acccount Information. ET_USERNAME and ET_API_KEY should be added to the config section of the .wp-env.override.json file.

Quick (tl;dr) instructions

cd /path/to/project
npm -g i caweb-cli
caweb start

The local environment will be available at http://localhost:8888 (Username: admin, Password: password).

Additional Services

  • phpmyadmin - MySQL administration for development instance, available at http://localhost:9000 (Username: root, Password: password).
  • tests-phpmyadmin - MySQL administration for tests instance, available at http://localhost:9090 (Username: root, Password: password).

More Information