Skip to content
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.

Latest commit

 

History

History
33 lines (22 loc) · 560 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 560 Bytes

pgm-service

Run with Docker Compose

Run inside the project root directory.

docker-compose up -d

Run the example loadflow case (requires requests package).

python -m test.powerflow

Install

Create and activate a Python 3.12z virtual environment. Go to the root folder of this repository. Run

python -m pip install build
python -m build --wheel --outdir dist
docker build --no-cache -t pgm-service .

Run

After you have created a docker image. You can run it.

docker run -p 80:80 pgm-service