Setup for development
Both rehua and rehua-doc have the devcontainer.json file.
To use it, install Docker, VS Code and the ms-vscode-remote.remote-containers plugin. Then follow these instructions to clone the repository to your local machine.
Common commands
Main repository
npm run check-all -w api -w web: run tests on both web and api packagesnpm run fix-all -w api -w web: run linter and formatter fix on both web and api packagesnpm run format&npm run format:fix: run formatter on the root foldernpm run build:sdk -w sdk: update sdknpm run dev -w api&npm run dev -w web: preview the api and webnpm run build -w api&npm run build -w web: build the api and web
Document repository
source .venv/bin/activate&deactivate: activate and deactivate venvmkdocs serve: preview the docmkdocs build -s: build the doc