Clone this project, alone with echarts-www, echarts-examples, and echarts-doc under the same directory.
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.
Run gulp release --debug
under echarts-examples
.
Run sh release.sh
under echarts-doc
.
Run gulp release --debug
under echarts-www
.
Run a server under incubator-echarts-website
directory and test.
Run gulp release
under echarts-examples
.
Run sh release.sh
under echarts-doc
.
Run gulp release
under echarts-www
.
Commit and push to asf-site
branch.
Initiate a building job at https://gitbox.apache.org/setup/resync.cgi by searching incubator-echarts-website
.
Wait for several minutes and Website should be generated at https://echarts.apache.org/.