-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.ps1
More file actions
19 lines (15 loc) · 1006 Bytes
/
setup.ps1
File metadata and controls
19 lines (15 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Script d'installation PowerShell pour GeoPrivacy
Write-Host "🔧 Installation des dépendances Node.js..." -ForegroundColor Cyan
npm install
Write-Host "🔄 Configuration de WSL pour Noir/Nargo..." -ForegroundColor Cyan
Write-Host "Note: Vous devrez installer Noir dans WSL manuellement avec:" -ForegroundColor Yellow
Write-Host "curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash" -ForegroundColor Yellow
Write-Host "noirup -v 1.0.0-beta.3" -ForegroundColor Yellow
Write-Host "📝 Configuration des chemins pour Windows/WSL..." -ForegroundColor Cyan
# Création d'un fichier .env si nécessaire
if (-not (Test-Path -Path ".\.env")) {
"NOIR_CIRCUIT_PATH=./circuits" | Out-File -FilePath ".\.env" -Encoding utf8
Write-Host "Fichier .env créé avec les chemins par défaut" -ForegroundColor Green
}
Write-Host "✅ Configuration terminée!" -ForegroundColor Green
Write-Host "Pour lancer l'application, exécutez: cd frontend; npm run dev" -ForegroundColor Cyan