amcharts / amcharts5

The newest, fastest, and most advanced amCharts charting library for JavaScript and TypeScript apps.
Other
345 stars 92 forks source link

How to serve this repo locally #1718

Closed HawtinZeng closed 2 weeks ago

HawtinZeng commented 2 weeks ago

Hi, amcharts teams, thanks for your great work, I want to dive deep into the source code, but I found I can't start a local server to run these exmaples and docs. How do you start a dev workspace?

Pauan commented 2 weeks ago

There are a lot of web servers available, probably the easiest is Python's built-in server:

https://realpython.com/python-http-server/

python3 -m http.server

Now just open up http://localhost:8000/ in your browser.

HawtinZeng commented 2 weeks ago

OK, webpack offer a dev server, I like this kind of dev server

Pauan commented 2 weeks ago

Sure, we use Webpack dev server a lot, it also works fine.