Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wordpress/wporg-developer-blog
https://github.com/wordpress/wporg-developer-blog
wordpress wporg
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/wordpress/wporg-developer-blog
- Owner: WordPress
- Created: 2022-05-11T01:41:37.000Z (over 2 years ago)
- Default Branch: trunk
- Last Pushed: 2024-05-03T15:38:42.000Z (7 months ago)
- Last Synced: 2024-10-07T09:39:26.615Z (about 1 month ago)
- Topics: wordpress, wporg
- Language: HTML
- Homepage: https://developer.wordpress.org/news/
- Size: 511 KB
- Stars: 10
- Watchers: 13
- Forks: 3
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# WordPress.org Developer Blog
This repository is home to the block theme that powers the [WordPress Developer Blog](https://developer.wordpress.org/news/). The theme is a child theme of [wporg-parent-2021](https://github.com/WordPress/wporg-parent-2021).
## Development
### Prerequisites
* Docker
* Node/npm
* Yarn
* Composer### Setup
1. Set up repo dependencies.
```bash
yarn setup:tools
```1. Build the assets. The theme can't be activated until this step is done.
```bash
yarn workspaces run build
```1. Start the local environment.
```bash
yarn wp-env start
```1. Run the setup script.
```bash
yarn setup:wp
```1. Visit site at [localhost:8888](http://localhost:8888).
1. 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.
```bash
yarn wp-env stop
```* Restart the environment.
```bash
yarn wp-env start
```* SSH into docker container.
```bash
yarn wp-env run wordpress bash
```* Run wp-cli commands. Keep the wp-cli command in quotes so that the flags are passed correctly.
```bash
yarn wp-env run cli "post list --post_status=publish"
```* Update composer dependencies and sync any `repo-tools` changes.
```bash
yarn update:tools
```