-
Install wp-cli.
-
Download WordPress core at the root of the project:
wp core download
- Create a new
wp-config.php
file:
wp config create \
--dbname=<YOUR_DB_NAME> \
--dbuser=<YOUR_DB_USER> \
--dbpass=<YOUR_DB_PASS>
- Enable
WP_DEBUG
:
wp config set WP_DEBUG true --raw --type=constant
- Install WordPress core:
wp core install \
--title='Studio 903' \
--url=localhost:8080 \
--admin_user=<YOUR_ADMIN_USER> \
--admin_password=<YOUR_ADMIN_PASSWORD> \
--admin_email=<YOUR_ADMIN_EMAIL>
- Install plugins (
advanced-custom-fields
andpolylang
are required):
wp plugin install \
classic-editor \
advanced-custom-fields \
polylang \
regenerate-thumbnails \
post-types-order \
user-role-editor \
google-sitemap-generator \
wordpress-importer \
--activate
- Activate the Studio 903 plugin:
wp plugin activate studio-903
- Activate the Studio 903 theme:
wp theme activate studio-903
- Run the development server:
wp server
- Visit
http://localhost:8080
on your browser.