Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and deploy static React app? #37

Closed
brienna opened this issue Feb 5, 2021 · 2 comments
Closed

Build and deploy static React app? #37

brienna opened this issue Feb 5, 2021 · 2 comments

Comments

@brienna
Copy link

brienna commented Feb 5, 2021

I've cloned the package and followed the instructions to visualize my graph using a local server, after determining the correct package structure.

I want to "save" a static copy of this graph that I can host on GitHub, like the one @anvaka is hosting on his GitHub and that is in the pm/build directory. When I run npm run build in the cloned copy of the pm package, I rebuild the original React app with the package galaxies, instead of my graph.

This may be a very novice question, but how do I use npm to generate a build of my own visualization? What should I be targeting—package structure changes, code, etc.?

@brienna brienna closed this as completed Feb 6, 2021
@brienna
Copy link
Author

brienna commented Feb 6, 2021

I figured this out and will update with my steps.

@Otoliths
Copy link

Otoliths commented Nov 12, 2022

I am facing the same problem. looking forward to someone solving this! @brienna

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants