https://github.com/<your-github-username>/npmcharts.com
.git clone https://github.com/<your-github-username>/npmcharts.com.git
. A folder called npmcharts.com
will be created.cd npmcharts.com
and then yarn
. This will take some time as puppeteer
will install chromium (150MB).cd packages/server
and run yarn
again.cd ../../
and then npm start
. You are all set! The project will be running on port 3896
.To test your code, open your browser and go to: http://localhost:3896/chart-image/vue.png. If everything is fine, you should see a chart(takes a few seconds to load; it is normal).
A few things that might not be apparent just by looking at the site
Charts can be embedded in Medium articles
Tweets of a chart should contain previews of the actual chart
Same with slack