this post was submitted on 27 Aug 2023
7 points (88.9% liked)

Rust

5788 readers
56 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

Day 22 of #100daysofcode
React:
🌐 Importance of Keys in React
🌐 Added final touch to the Tic-Tac-Toe game, still figuring out deployment.

If anyone knows how to deploy react code, PLEASE HELP!!

@rust :

🦀Cargo - The Package manager of Rust.
🦀Cargo.toml --> Config files for Rust like JSON.
🦀Cargo run, cargo build, and cargo check commands and uses.
🦀Started making a guessing game in Rust as a hands-on Project.

Follow for a Crab 🦀 --> @0xsaksham

you are viewing a single comment's thread
view the rest of the comments
[–] 80avin 4 points 1 year ago (7 children)

What have you tried searching till now ?

There are many options like GitHub pages, Vercel, Netlify, etc. which can be free.

Other like AWS, firebase, etc which can be costly.

[–] [email protected] 1 points 1 year ago (6 children)

@80avin I know about netlify and stuff bro, but can't figure out how to launch on netlify a React website.

I have hosted websites, check it out here--> https://github.com/0xSaksham

[–] jvisick 2 points 1 year ago* (last edited 1 year ago) (5 children)

https://docs.netlify.com/configure-builds/overview/?#basic-build-settings

You just need to configure your build command and most likely your publish directory. Netlify honestly makes it really easy.

The build command is whatever you’d type in your terminal to compile your react app, and the publish directory is wherever your build command creates your static assets.

[–] [email protected] 1 points 1 year ago

@jvisick I'll try thanks 🙏

load more comments (4 replies)
load more comments (4 replies)
load more comments (4 replies)