Development
- After going through the standard setup instructions
- Install Cargo Watch:
cargo install cargo-watch
- Install the VS Code Plugin Rust Analyzer (opens in a new tab)
- Open one terminal:
cd server
# to compile in debug mode (faster recompiling but slower performance)
DEBUG=true cargo watch -x run
# to compile in release mode (slower recompiling but faster performance)
cargo watch -x 'run -r'
- In a second terminal:
cd client && yarn install && yarn dev
- A browser will automatically open to
localhost:{PORT}