8000 GitHub - ramonjd/wporg-news-2021
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ramonjd/wporg-news-2021

 
 

Repository files navigation

WordPress.org News Theme, 2021 edition

This is starting as a fork of Blockbase.

Development

Prerequisites

  • Docker
  • Node/npm
  • Yarn
  • Composer

Setup

  1. Set up repo dependencies: yarn run initial-setup
  2. Build the assets: yarn workspaces run build. The theme can't be activated until this step is done.
  3. Start up and provision the environment: yarn run env:setup
  4. Visit site at localhost:8888
  5. Log in with username admin and password password

Environment management

These must be run in the project's root folder, not in theme/plugin subfolders.

  • Stop the environment: yarn run env:stop or yarn run wp-env stop
  • Restart the environment: yarn run env or yarn run wp-env start
  • Reset the dev site's content: yarn run env:reset && yarn run env:import
  • SSH into docker container: docker exec -it {container ID} /bin/bash. You can get the ID from docker ps.

Asset management

  • Build all assets once: yarn workspaces run build
  • Rebuild all assets on change: npm run start:all

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 57.1%
  • HTML 25.7%
  • PHP 14.7%
  • JavaScript 2.5%
0