Update LocalDevSetup.ps1

This commit is contained in:
IRBorisov 2023-09-07 16:53:18 +03:00
parent f29d2053d5
commit 20b62d1625

View File

@ -1,7 +1,7 @@
# Create venv and install dependencies + imports # Create venv and install dependencies + imports
$backend = Resolve-Path -Path "$PSScriptRoot\..\..\rsconcept\backend" $backend = Resolve-Path -Path "$PSScriptRoot\..\..\rsconcept\backend"
$frontend = Resolve-Path -Path "$PSScriptRoot\..\..\rsconcept\fronted" $frontend = Resolve-Path -Path "$PSScriptRoot\..\..\rsconcept\frontend"
$envPath = "$backend\venv" $envPath = "$backend\venv"
$python = "$envPath\Scripts\python.exe" $python = "$envPath\Scripts\python.exe"
@ -12,7 +12,7 @@ function LocalDevelopmentSetup() {
function FrontendSetup() { function FrontendSetup() {
Set-Location $frontend Set-Location $frontend
& npm install & npm install --only=dev
} }
function BackendSetup() { function BackendSetup() {