Getting Started with the Replicad App Example #68
-
Hello! I'm a huge fan of this project and I want to get started with using it. The visualizer works great and the documentation for how to use it is excellent. The next step is that I would like to try to run the replicad app example locally, but I'm not quite where to begin. Forgive me if it's obvious, I don't know much about react. My first guess was to clone the repo and run What are the steps to getting the basic example running locally? Is it important that I use react? If it is important that I use react with Replicad I can learn it and switch over from vanilla JS. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
Upon further investigation I see that I probably should have been running |
Beta Was this translation helpful? Give feedback.
-
I do not advice to just clone the multirepo and then run from packages (it needs some magic with the multi repo logic, this is not great). What I would advice you do to is copy the sample app out of the multi repo and then install and run. So something in that spirit: git clone [email protected]:sgenoud/replicad.git
cp -r replicad/packages/replicad-app-example .
cd replicad-app-example
npm install
npm start Note that I have updated the dependencies while I was testing, so pull within the repo before copying the demo app! |
Beta Was this translation helpful? Give feedback.
-
It is not important to use react. This is just a way for me to make it easy to use threejs (via react three fiber). But in theory you can use vanilla JS. |
Beta Was this translation helpful? Give feedback.
-
And just a question on my side - what do you want to do with the sample app? Depending on your use case I can give you some advice on where to look to start developing your app! |
Beta Was this translation helpful? Give feedback.
-
Sorry about the slow response, I was camping :) I'm working on this project: https://github.com/MaslowCNC/Maslow-Create It's a flow based 3D modeling program with the option to support writing code directly for more complex things. The goal is to make it easier for folks to share designs for CNC routers. I did a little research on React and it seems pretty nice so I think I'll try to make everything work in React. I should be able to dig into it a bit next week. Again, super cool project 👍 👍 |
Beta Was this translation helpful? Give feedback.
-
Life got in the way and it took me longer to get to this than I expected, but I just had a chance to play with it and the example is working great. Thank you 😀 |
Beta Was this translation helpful? Give feedback.
I do not advice to just clone the multirepo and then run from packages (it needs some magic with the multi repo logic, this is not great).
What I would advice you do to is copy the sample app out of the multi repo and then install and run. So something in that spirit:
Note that I have updated the dependencies while I was testing, so pull within the repo before copying the demo app!