mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-25 20:40:36 +03:00
12 lines
282 B
PowerShell
12 lines
282 B
PowerShell
# Initialize database !
|
|
# FOR DEVELOPEMENT BUILDS ONLY!
|
|
$container= Read-Host -Prompt "Enter backend container name: "
|
|
|
|
function PopulateDevData() {
|
|
docker exec `
|
|
-it $container `
|
|
python3.12 manage.py loaddata ./fixtures/InitialData.json
|
|
}
|
|
|
|
PopulateDevData
|
|
pause |