react-d3-graph icon indicating copy to clipboard operation
react-d3-graph copied to clipboard

How to build and run react-d3-graph locally?

Open michaelbdavid opened this issue 4 years ago • 4 comments

Hey @danielcaldas,

I've pulled react-d3-graph locally and I'm not seeing a way that I can build and run locally. I'd like to try out the changes in feature/multiple-edges-between-same-nodes to see if they provide the support I need for multiple edges. I tried running npm install; npm build but build command doesn't seem to exist. I'd assume after I build this package that I would see /build dir appear and then i could install this directory within my app so I could use these features?

Any help is appreciated, Michael

michaelbdavid avatar Oct 15 '20 19:10 michaelbdavid

As written in the Contributing section of the README.md, you should run npm run dev, and be able to interact with the package in http://localhost:3002/.

lironhl avatar Oct 15 '20 19:10 lironhl

Thx and if I wanted to reference this package within my node app could I do this without the dist getting created? I basically want to point at this feature branch instead of the one on npm. but I cant seem to build it locally. npm run dist fails for me. npm run dev worked to deploy locally thx for that.

michaelbdavid avatar Oct 15 '20 19:10 michaelbdavid

btw looks good in the locally deployed container when can we expect this feature to be added?

michaelbdavid avatar Oct 15 '20 20:10 michaelbdavid

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 25 '20 16:12 stale[bot]