You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can seamlessly integrate Playground into your development workflow to launch a local WordPress environment quickly for testing your code. You can do this directly [from the terminal](/developers/local-development/wp-now) or [your preferred IDE.](/developers/local-development/vscode-extension)
29
+
You can seamlessly integrate Playground into your development workflow to launch a local WordPress environment quickly for testing your code. You can do this directly [from the terminal](/developers/local-development/wp-playground-cli) or [your preferred IDE.](/developers/local-development/vscode-extension)
適切なエラーメッセージは、ユーザーに次に何をすべきかを伝えます。Playground の公開 API によってスローされるエラーに曖昧さがあると、開発者は問題をオープンすることになります。
17
+
適切なエラーメッセージは、ユーザーに以下の手順を通知します。Playground の公開 API によってスローされるエラーに不明瞭な点があると、開発者は問題を報告する必要があります。
18
18
19
19
<!--
20
-
A good error message tells the user what to do next. Any ambiguity in errors thrown by Playground public APIs will prompt the developers to open issues.
20
+
A good error message informs the user of the following steps to take. Any ambiguity in errors thrown by Playground public APIs will prompt the developers to open issues.
-**CORS**: ブラウザのセキュリティ機能であることを明確にし、詳細な説明へのリンク(MDN などの信頼できる情報源)を追加します。ユーザーにファイルを raw.githubusercontent.com などの別の場所に移動することを提案し、サーバー上で CORS ヘッダーを設定する方法を説明したリソースへのリンクも提供します。
32
+
-**CORS**: ブラウザのセキュリティ機能であることを明確にし、詳細な説明へのリンク(MDN などの信頼できる情報源)を追加します。ユーザーにファイルを `raw.githubusercontent.com` などの別の場所に移動することを提案し、サーバー上で CORS ヘッダーを設定する方法を説明したリソースへのリンクを提供します。
33
33
34
34
<!--
35
35
- **Network error**: "Your internet connection twitched. Try to reload the page.
36
36
- **404**: "Could not find the file".
37
37
- **403**: "The server blocked access to the file".
38
-
- **CORS**: clarify it's a browser security feature and add a link to a detailed explanation (on MDN or another reliable source). Suggest the user move their file somewhere else, like raw.githubusercontent.com, and link to a resource explaining how to set up CORS headers on their servers.
38
+
- **CORS**: clarify it's a browser security feature and add a link to a detailed explanation (on MDN or another reliable source). Suggest the user move their file somewhere else, like `raw.githubusercontent.com`, and link to a resource explaining how to set up CORS headers on their servers.
39
39
-->
40
40
41
41
コードのフォーマットとリンティングは自動的に行われます。安心して入力し、あとは機械に任せましょう。
@@ -65,7 +65,7 @@ Public APIs are easy to add and hard to remove. It only takes one PR to introduc
65
65
- 不要な関数、クラス、定数、その他のコンポーネントを公開しないでください。
66
66
67
67
<!--
68
-
- Don't expose unnecessary function, class, constant, or other components.
68
+
- Don't expose unnecessary functions, classes, constants, or other components.
The [WordPress Playground VS Code extension](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) and [wp-now](https://www.npmjs.com/package/@wp-now/wp-now) streamline the process of setting up a local WordPress environment. WordPress Playground powers both—no Docker, MySQL, or Apache required.
14
+
The [WordPress Playground VS Code extension](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) and [@wp-playground/cli](https://www.npmjs.com/package/@wp-playground/cli) streamline the process of setting up a local WordPress environment. WordPress Playground powers both—no Docker, MySQL, or Apache required.
Keep reading to learn how to use these tools for [local development](/developers/local-development/wp-now) when contributing to WordPress. Please note that the extension and the NPM package are under development, and not all [Make WordPress teams](https://make.wordpress.org/) are fully supported.
20
+
Keep reading to learn how to use these tools for [local development](/developers/local-development/wp-playground-cli) when contributing to WordPress. Please note that the extension and the NPM package are under development, and not all [Make WordPress teams](https://make.wordpress.org/) are fully supported.
21
21
-->
22
22
23
23
## はじめる
@@ -26,14 +26,6 @@ Keep reading to learn how to use these tools for [local development](/developer
If you’re a visual learner, here’s a step-by-step video tutorial. If you prefer reading at your own pace, skip to the written instructions below.
33
-
-->
34
-
35
-
<iframetitle="Getting Started with wp-now for WordPress development at Contributor Day"width="752"height="423"src="https://video.wordpress.com/embed/Gn7XOCAM?cover=1&preloadContent=metadata&useAverageColor=1&hd=1&metadata_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3b3JkcHJlc3MuY29tIiwiaWF0IjoxNjg2MTQ4ODQ5LCJleHAiOjE2ODYzMjE2NDksImJsb2dfaWQiOiIyMDMxMjIxMTIiLCJndWlkIjoiR243WE9DQU0iLCJhdXRoIjoidmlkZW9wcmVzc19wbGF5YmFja190b2tlbiIsImFjY2VzcyI6InZpZGVvIiwiZXhwaXJlcyI6MTY4NjMyMTY0OX0.DJWVfePHl2nUKo8ziG81CK2VlG5Ui8vNg-dZJ7dOSq8"allow="fullscreen"loading="eager"></iframe>
36
-
37
29
### VS Code プレイグラウンド拡張機能
38
30
39
31
<!--
@@ -58,16 +50,16 @@ The [Visual Studio Code Playground extension](https://marketplace.visualstudio.c
58
50
4. A new tab will open in your browser within seconds.
`wp-now` requires Node.js and NPM. If you haven’t yet, [download and install](https://nodejs.org/en/download) both before you begin.
74
+
`@wp-playground/cli` requires Node.js 20.18 or newer and NPM. If you haven’t yet, [download and install](https://nodejs.org/en/download) both before you begin.
83
75
-->
84
76
85
77
参加する Make WordPress チームによっては、インストール済みのものとは異なるバージョンの Node.js が必要になる場合があります。Node Version Manager(NVM)を使用してバージョンを切り替えることができます。[インストールガイドはこちら](https://github.com/nvm-sh/nvm#installing-and-updating)。
@@ -88,21 +80,21 @@ The [Visual Studio Code Playground extension](https://marketplace.visualstudio.c
88
80
Depending on the Make WordPress team you contribute to, you may need a different Node.js version than the one you have installed. You can use Node Version Manager (NVM) to switch between versions. [Find the installation guide here](https://github.com/nvm-sh/nvm#installing-and-updating).
You don’t have to install `wp-now` on your device to use it. Navigate to your plugin or theme directory and start `wp-now` with the following commands:
92
+
You don’t have to install `@wp-playground/cli` on your device to use it. Navigate to your plugin or theme directory and start `@wp-playground/cli` with the following commands:
If you’re unsure about the steps listed above, visit the official [Gutenberg Project Contributor Guide](https://developer.wordpress.org/block-editor/contributors/). Note that in this case, `wp-now` replaces `wp-env`.
138
+
If you’re unsure about the steps listed above, visit the official [Gutenberg Project Contributor Guide](https://developer.wordpress.org/block-editor/contributors/). Note that in this case, `@wp-playground/cli` replaces `wp-env`.
The documentation files (`.md` files) are stored in Playground's GitHub repository, [under `/packages/docs/site/docs`](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/docs).
64
+
The documentation files (`.md` files) are stored in Playground's GitHub repository, [under `/packages/docs/site/docs`](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/docs) for English and [`/packages/docs/site/i18n`](https://github.com/WordPress/wordpress-playground/tree/trunk/packages/docs/site/i18n) for other languages.
0 commit comments