Automattic Releases wp-now: A Local Development Environment Powered by WordPress Playground

Automattic Releases wp-now: A Local Development Environment Powered by WordPress Playground

Posted by WP Tavern on May 23, 2023 at 8:39 pm
kitty kitty CATegory News
Automattic has published a new project called wp-now that creates a local development environment in seconds. The tool is a NodeJS app that is powered by WordPress Playground, an experimental project that uses WebAssembly (WASM) to run WordPress in the browser. wp-now allows developers to quickly spin up a new WordPress site with their chosen theme and then open it in the browser automatically logged in as admin without having to enter any credentials. It uses the SQLite Database Integration plugin for its database and developers can quickly swap out versions of PHP and WordPress for testing. Five minute install? wp-now launches your local environment in five seconds https://t.co/cKkUDN8uHE pic.twitter.com/QdgZle5mgw— AutomatticEng (@AutomatticEng) May 23, 2023 Automattic software engineer Antonio Sejas explained how it works: When you use wp-now from a directory, we create a php-wasm instance, download the selected WordPress version and mount the necessary directories in a virtual file system (VFS). Then, we initiate a NodeJS express server that listens and proxies all requests to the php-wasm. As a result, wp-now can easily log you into WordPress automatically, activate plugins and themes, and automatically configure your WordPress site. wp-now can be installed directly from npm. It works across all platforms (Mac, Linux, and Windows). Although…

…Full post on WP Tavern
Read Full

Similar Posts

Leave a Reply