Development
Main
After going through the standard setup instructions
Install Cargo Watch:
cargo install cargo-watchInstall the VS Code Plugin Rust Analyzer
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 devA browser will automatically open to localhost:{PORT}
Docs
Setup dependencies:
cd docs
yarn installRun the docs server:
yarn devOpen the web browser:
# When you see this in the console:
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
# Click the url address to open the docs in your browser
# Or you can manually navigate to it in the browserWhen you save your changes, the browser will automatically hot reload to reflect them
Last updated on