A minimal local environment for getting Newsroom up and running in minutes using WP-Env and Composer.
Before getting started, ensure you have the following installed:
- PHP and Composer
- Node.js (we recommend using
fnm) - Docker Desktop
If you need help setting up your development environment:
- Video walkthrough: https://drive.google.com/file/d/1VwX5Cb5jp0g1UkLufERSi7N4Xrxd-z2b/view?usp=sharing
- Written guide: https://gist.github.com/jasonagnew/7e0e09ae93e791ec77a5eebe516fd182
Create a working directory (optional):
mkdir -p ~/web
cd ~/webClone the repository:
git clone git@github.com:wpengine/newsroom-local-example.gitChange into the project directory:
cd newsroom-local-exampleEdit composer.json replacing mp_xxx with your key.
Install the required packages:
composer installStart the local environment:
wp-env startOnce complete, visit:
- Admin: http://localhost:8888/wp-admin/
- Username:
admin - Password:
password
To switch to the 4.4.1 release:
composer require wpengine/mediapress-core:4.4.1