svg2gcode icon indicating copy to clipboard operation
svg2gcode copied to clipboard

Release to Website Instructions

Open 1fifoto opened this issue 3 years ago • 2 comments

Sameer, I'm interested in installing your code in my own development environment to do a pull-request so I can create an update for you. However, I'm new to Rust and wondered if you have a write-up somewhere on how to install the prerequisites on a "empty" machine with only the OS installed. And then where to install your svg2gcode code project on that machine to get it running. I've cloned your project and see the Github Actions, but I've been unsuccessful it getting them to work to create a github.io website either. So there must be some Github settings that I am missing. Any help would be appreciated. Brian Watt, @1fifoto or [email protected]

1fifoto avatar Jun 24 '22 22:06 1fifoto

Hi Brian,

Thanks for reaching out! The tools you need to install should be: cargo + rust & trunk. You'll also need the wasm target installed: rustup target install wasm32-unknown-unknown.

The website is on a separate git branch gh-pages and is automatically deployed to GH pages using the web-deploy github action. To build the website locally:

# inside the repo
cd web
trunk serve
# Website will be accessible at some localhost address

You can use trunk build to get a release build of the website. Let me know if there's anything else I can help with!

sameer avatar Jun 27 '22 17:06 sameer

Thank you, let me read and give it a try.

1fifoto avatar Jun 28 '22 02:06 1fifoto