- Follow the Tauri prerequisites guide
- Fork this project
- Clone the project to your local system —
git clone https://github.com/<your_github_username>/crust.git
- Change to the project root directory —
cd crust
- Install all dependencies using npm —
npm install
- Run the project in development mode —
npm run tauri dev
We have some recommended extensions for use with VS Code, such as ESLint and Stylelint.
We use ESLint and Stylelint for our styling rules. If you are using our recommended extensions then we strongly suggest that you use these settings for your workspace:
{
"editor.tabSize": 2,
"rust-analyzer.rustfmt.extraArgs": [
"--config",
"tab_spaces=2"
],
"stylelint.validate": [
"css",
"less",
"postcss",
"scss",
"vue"
]
}
To run ESLint or Stylelint for all files, use these premade scripts:
npm run eslint
npm run stylelint
Or, to fix linting errors in the current file, run the "fix all auto-fixable problems" commands:
- Run the project in development mode —
npm run tauri dev
- Build the project for release —
npm run tauri build