#1744 Update develepment guide docs to include Rust/WASM

This commit is contained in:
daniloguimaraes
2026-02-19 12:19:13 +01:00
committed by Leendert de Borst
parent 866a0fd606
commit aac02e3ddb
2 changed files with 21 additions and 5 deletions

View File

@@ -12,13 +12,13 @@ This guide will help you set up AliasVault for development on Linux or MacOS sys
## Prerequisites
1. **Install .NET 9 SDK**
1. **Install .NET 10 SDK**
```bash
# On MacOS via brew:
brew install --cask dotnet-sdk
# On Linux:
# Follow instructions at https://dotnet.microsoft.com/download/dotnet/9.0
# Follow instructions at https://dotnet.microsoft.com/download/dotnet/10.0
```
2. **Install Docker**
@@ -68,7 +68,7 @@ This guide will help you set up AliasVault for development on Linux or MacOS sys
dotnet tool install --global Microsoft.Playwright.CLI
# Install browsers
pwsh apps/server/Tests/AliasVault.E2ETests/bin/Debug/net9.0/playwright.ps1 install
pwsh apps/server/Tests/AliasVault.E2ETests/bin/Debug/net10.0/playwright.ps1 install
```
6. **Configure Development Settings**
@@ -84,6 +84,22 @@ This guide will help you set up AliasVault for development on Linux or MacOS sys
}
```
7. **Install rustup & compile from Rust to WebAssembly**
- Needed for AliasVault.Client module in case you want to run it directly from the code on your IDE (e.g. not using Docker)
- Follow instructions at [rustup](https://rustup.rs) and install it.
- Add `wasm32-unknown-unknown` and `wasm-pack`:
```bash
# Add wasm32-unknown-unknown target to your Rust installation
rustup target add wasm32-unknown-unknown
# Install wasm-pack
cargo install wasm-pack
```
- Run AliasVault Rust Core Build Script:
```bash
./core/rust/build.sh --browser
```
## Running the Application
1. **Start the Development Database**

View File

@@ -28,8 +28,8 @@ This guide will help you set up AliasVault for development on Windows using WSL
- .NET WebAssembly development tools
- .NET cross-platform development
3. **Install .NET 9 SDK**
- Download from [.NET Downloads](https://dotnet.microsoft.com/download/dotnet/9.0)
3. **Install .NET 10 SDK**
- Download from [.NET Downloads](https://dotnet.microsoft.com/download/dotnet/10.0)
- Install both Windows and Linux versions (you'll need both)
## Setup Steps