newspack-network

所属分类:ASP/.NET编程
开发工具:PHP
文件大小:0KB
下载次数:0
上传日期:2024-02-13 20:47:19
上 传 者sh-1993
说明:  新闻包中心
(The Newspack Hub)

文件列表:
.circleci/
bin/
includes/
tests/
.distignore
.nvmrc
.prettierrc
.travis.yml
CHANGELOG.md
DEV_NOTES.md
LICENSE
TESTING_SCENARIOS.md
commitlint.config.js
composer.json
composer.lock
newspack-network.php
package-lock.json
package.json
phpcs.xml
phpunit.xml

# newspack-network The Newspack Network This plugin creates a Network of Newspack sites, in which events that happen in one site are propagated to all other sites in the network. ## Architecutre This plugin works in a Hub & Spoke architecutre. The Hub is the central site in the network. All the other sites are called "Nodes" All sites send events to the Hub and then pull events that happened in other sites from the Hub. The Hub holds an Event Log, where we have the history of all events in all sites of the Network. ## Setting up 1. Choose which site will be the Hub 2. In that site, go to Newspack Network > Site Role and set this site as the Hub 3. Go to Newspack Network > Nodes and add the nodes that will be part of the network 4. Note that for each Node, a Secret key is generated. This key will be used to sign requests between Hub and Nodes. 5. In each node, configure the Hub: 6. Go to Newspack Network > Site Role and set the site as a node in the network 7. Go to Newspack Network > Node settings 8. Enter the Hub URL 9. Enter the Secret key generated in the Hub for that specific Node ## Techinical docs See [Dev Notes](https://github.com/Automattic/newspack-network/blob/master/DEV_NOTES.md) ## Testing scenarios This is a new plugin, so on [this page](https://github.com/Automattic/newspack-network/blob/master/TESTING_SCENARIOS.md) you'll find several testing scenarios to help you configure the plugin and confirm it's working as expected.

近期下载者

相关文件


收藏者