Skip to content

JPETTomography/j-pet-console-be

Repository files navigation

How to run this stuff

go to common/data_helpers and get the data first

./download_data.sh

will download all the needed examplary data to the examplary_data folder.

For developement purposes, with volumes mounted up simply run

docker compose -f docker-compose.yaml -f docker-compose.agent.yaml -f docker-compose.local.yaml up --build

For deployment purposes run:

docker compose -f docker-compose.yaml up --build

then see localhost:8000/docs to run full process of running agent, reading data from root, sending it to worker by json and then worker sending it to database use /send_agent/ method

if the services did not stand up try calling them in this order

docker compose up web -d
docker compose up agent -d
docker compose up worker -d

or better yet, open each one in separate terminal

docker compose up web
docker compose up agent
docker compose up worker

Demo step by step

  1. Download the repo
  2. Download the git submodule using
git submodule init
git submodule update --remote --recursive

  1. Run backend
docker compose -f docker-compose.yaml -f docker-compose.agent.yaml -f docker-compose.local.yaml up
  1. Run frontend
cd j-pet-console-fe
docker compose -f docker-compose.yml up
  1. Open http://localhost:8000/docs and trigger seed

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published