tree: 50cd2025bf6de25fd5340fad5bd225cb56df3ea9 [path history] [tgz]
  1. asset/
  2. builder/
  3. css/
  4. dist/
  5. documents/
  6. en/
  7. examples/
  8. images/
  9. js/
  10. vendors/
  11. video/
  12. zh/
  13. .gitignore
  14. .htaccess
  15. 404.html
  16. about.html
  17. api.html
  18. builder.html
  19. builder3.html
  20. changelog.html
  21. cheat-sheet.html
  22. coding-standard.html
  23. committer.html
  24. demo.html
  25. download-extension.html
  26. download-map.html
  27. download-theme.html
  28. download.html
  29. download3.html
  30. examples.html
  31. faq.html
  32. feature.html
  33. index.html
  34. maillist.html
  35. option-gl.html
  36. option.html
  37. option3.html
  38. README.md
  39. spreadsheet.html
  40. tutorial.html
README.md

Incubator ECharts Website

Setup

Clone this project, alone with echarts-www, echarts-examples, and echarts-doc under the same directory.

Build

Config

Set echarts-www/config/env.js and echarts-examples/config/env.js. Change debugHost to be the path to local debug server and examples.

For example, if you use http-server to start a server http://127.0.0.1:8080 under incubator-echarts-website directory, debugHost in the two projects should be http://127.0.0.1:8080 and http://127.0.0.1:8080/examples accordingly.

Debug Locally

  1. Run gulp release --debug under echarts-examples.

  2. Run sh release.sh under echarts-doc.

  3. Run gulp release --debug under echarts-www.

  4. Run a server under incubator-echarts-website directory and test.

Build Release

  1. Run gulp release under echarts-examples.

  2. Run sh release.sh under echarts-doc.

  3. Run gulp release under echarts-www.

  4. Commit and push to asf-site branch.

  5. Initiate a building job at https://gitbox.apache.org/setup/resync.cgi by searching incubator-echarts-website.

  6. Wait for several minutes and Website should be generated at https://echarts.apache.org/.