-
If you haven't already, install Git onto your computer. You can find instructions on how to do that here
-
To clone the repository, open up your terminal, navigate to the folder you want to store the repo and run:
git clone https://github.com/StanfordCS194/Spr24-Team5.git
-
Navigate to the project folder.
-
Install Rust
a. If you are on Linux or Mac OS copy this into your terminal and run it.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
b. If you are on windows download and run this installer: https://rustup.rs/
-
Run the backend server using Cargo:
cargo run -p backend -
Navigate to the react-frontend folder.
-
Install npm if you haven't already. You can install npm by downloading and installing Node.js from nodejs.org, which includes npm.
-
Install project dependencies:
npm install -
Start the frontend server:
npm start -
The app can be found at http://localhost:3006
Troubleshooting
The backend and frontend run on different ports (3000 and 3006 respectively). If some web functionality is broken, you might need to disable https only mode for localhost/3000 in your browser. Here are instructions on how to do that based on your browser: