See https://github.com/DigitalSlideArchive/HistomicsUI.
-
Run
docker-compose up
in the top-level directory to start HistomicsUI -
Run
python3 populate_server.py -n {N}
to initialize your user and create the assetstore, collection, and example image items for testing, where{N}
is the number of distinct large image files you want to upload to the collection. Any{N}
greater than one will require downloading files from https://data.kitware.com. -
Navigate to
localhost:8080
in your browser to view HistomicsUI. Click on "Collections". If Step 3 was successful, There should be an "Examples" collection, which contains a folder called "Data". Navigate inside this folder to view the example file.
-
Run
locust
in the top-level directory to start Locust. -
Navigate to
localhost:8089
in your browser to view Locust, Enter any values for "number of users" and "spawn rate." Enterhttp://localhost:8080
for "host". Click "Start Swarming."
Use the following command (with any numbers n and m):
locust --headless --users [n] --spawn-rate [m] -H http://localhost:8080