mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 04:50:36 +03:00
Update LocalDevSetup.ps1
This commit is contained in:
parent
f29d2053d5
commit
20b62d1625
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user