commit | 038c33e6b889880089910fb154c8e29ad26e6788 | [log] [tgz] |
---|---|---|
author | Ovilia <zwl.sjtu@gmail.com> | Thu Jun 06 13:57:09 2019 +0800 |
committer | Ovilia <zwl.sjtu@gmail.com> | Thu Jun 06 13:57:09 2019 +0800 |
tree | 71105a7fc9251698875bacf2a2cf34bec303c618 | |
parent | f07094dbde0345e9ca1f568304910ff528a7db6f [diff] |
fix /example
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/.