Modified the Docker setup to generate a TypeScript-Angular client from the Palantir API. Added configuration options via a new `options.json` file and updated paths to align with the Angular frontend. Adjusted the script to replace the old client location with the updated Angular client path.
11 lines
411 B
Batchfile
11 lines
411 B
Batchfile
@echo off
|
|
pushd "../../docker/code-gen"
|
|
rmdir /s /q "palantir-client"
|
|
rmdir /s /q "dotnet"
|
|
xcopy "../../src/dotnet" "./dotnet\" /E/H
|
|
cmd /c "docker-compose up --abort-on-container-exit --force-recreate"
|
|
cmd /c "docker-compose down"
|
|
rmdir /s /q "../../src/angular/frontend/src/app/clients/palantir-client-bot"
|
|
xcopy "./palantir-client" "../../src/angular/frontend/src/app/clients/palantir-client-bot\" /E/H
|
|
popd
|