Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

#1744 Update develepment guide docs to include Rust/WASM

daniloguimaraesaac02e3ddb99
diff --git a/docs/misc/dev/linux-macos-development.md b/docs/misc/dev/linux-macos-development.md
index 90a0318d1..2a3270be7 100644
--- a/docs/misc/dev/linux-macos-development.md
+++ b/docs/misc/dev/linux-macos-development.md
@@ -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**
diff --git a/docs/misc/dev/windows-development.md b/docs/misc/dev/windows-development.md
index a715004df..3bc16f717 100644
--- a/docs/misc/dev/windows-development.md
+++ b/docs/misc/dev/windows-development.md
@@ -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