Skip to content

glauberm/studio-903

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Studio 903

Running the project locally

  1. Install wp-cli.

  2. Download WordPress core at the root of the project:

wp core download
  1. Create a new wp-config.php file:
wp config create \
    --dbname=<YOUR_DB_NAME> \
    --dbuser=<YOUR_DB_USER> \
    --dbpass=<YOUR_DB_PASS>
  1. Enable WP_DEBUG:
wp config set WP_DEBUG true --raw --type=constant
  1. 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>
  1. Install vendor plugins:
wp plugin install \
    classic-editor \
    advanced-custom-fields \
    polylang \
    regenerate-thumbnails \
    post-types-order \
    user-role-editor \
    google-sitemap-generator \
    wordpress-importer \
    --activate
  1. Install dependencies:
composer install --working-dir=wp-content/plugins/studio-903 && \
npm install --prefix wp-content/themes/studio-903
  1. Configure environment variables:
cp wp-content/plugins/studio-903/.env.example wp-content/plugins/studio-903/.env && \
cp wp-content/themes/studio-903/.env.example wp-content/themes/studio-903/.env
  1. Activate the plugin and the theme:
wp plugin activate studio-903 &&
wp theme activate studio-903
  1. Run the development server:
wp server

About

WordPress website for Studio 903

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published