- Install Rust (includes Cargo)
- On Linux/macOS:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- On Windows: Use the rustup-init.exe installer
- Install globally:
npm install -g @tauri-apps/cli
Windows:
- Visual Studio Build Tools
- Enable "Desktop development with C++" workload
macOS:
- Xcode Command Line Tools:
xcode-select --install
Linux:
- Install required system libraries:
- Arch:
sudo pacman -S webkit2gtk gtk3 base-devel openssl
- Debian/Ubuntu:
sudo apt update && sudo apt install -y libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev- Fedora:
sudo dnf install -y webkit2gtk3-devel openssl-devel gtk3-devel
-
Clone the repository
git clone https://github.com/IstiakAR/Automation cd Automation -
Install JavaScript dependencies
npm install
-
Install Tailwind CSS v3 and dependencies
npm install -D tailwindcss@3 postcss@8 autoprefixer@10 npx tailwindcss init -p
-
Install shadcn/ui
npx shadcn-ui@latest init
-
Run the app in development mode
npm run tauri dev
Or with no hot restart(you need to run it again for changes to take effect),
npm run tauri:dev
-
Build for production
npm run tauri build