[ISSUE #217] Add license check instructions in publish guide (#218)

* Copy templates

* Fix outdated branch name and url

* Update '打包二进制' chapter

* Update '检查源码包的文件内容' and '检查二进制包的文件内容' chapter

* CN change 2 EN

* minor fix

* pangu format
11 files changed
tree: 9bb17caad2b20af085c2ecf6e4276c531ff2eeb3
  1. .github/
  2. blog/
  3. community/
  4. docs/
  5. events/
  6. i18n/
  7. meetup/
  8. scripts/
  9. sidebars/
  10. src/
  11. static/
  12. versioned_docs/
  13. versioned_sidebars/
  14. .asf.yaml
  15. .eslintrc.js
  16. .gitignore
  17. babel.config.js
  18. doap_EventMesh.rdf
  19. docusaurus.config.js
  20. eventmesh-multi-runtime.drawio
  21. LICENCE
  22. package-lock.json
  23. package.json
  24. README.md
  25. tsconfig.json
  26. versions.json
README.md

Apache EventMesh Website

Development

Clone and install dependencies:

git clone git@github.com:apache/eventmesh-site.git
cd eventmesh-site

npm install

Preview the website in development mode:

# Start the website with English documentations
npm run start -- --locale en

# Start the website with Chinese documentations
npm run start -- --locale zh

Build and view the website:

npm run build

npm run serve

Sync Documentation from apache/eventmesh

The npm run fetch script (scripts/fetch.ts) clones the apache/eventmesh repository and copies the documentations to docs and i18n/zh/docusaurus-plugin-content-docs. To update the documentation, please create a pull request in the apache/eventmesh repository.

npm run fetch

npm run start -- --locale en