Tested on Windows 10 and 11
Requirements: git (Git for Windows), Docker (Docker for Windows)
Steps:
-
open terminal in the desired folder on the computer, run command git clone https://github.com/Clean-CaDET/dataset-explorer.git
-
position terminal in dataset-explorer folder (run command cd dataset-explorer)
-
in file explorer, open the docker-compose file (dataset-explorer/docker-compose.yml) in Notepad
-
in docker-compose file, write down the path on your computer where you will clone the Github projects that you will annotate; check the images below: first image represents the docker-compose file before the path is written, and the second image represents the docker-compose file after the path is written
-
in terminal, run command docker-compose up
Last lines of the output should be like this:
database_1 | 2024-04-02 11:42:52.832 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
database_1 | 2024-04-02 11:42:52.832 UTC [1] LOG: listening on IPv6 address "::", port 5432
database_1 | 2024-04-02 11:42:52.838 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
database_1 | 2024-04-02 11:42:52.846 UTC [63] LOG: database system was shut down at 2024-04-02 11:42:52 UTC
database_1 | 2024-04-02 11:42:52.852 UTC [1] LOG: database system is ready to accept connections
- open new terminal, position in dataset-explorer (as in the previous terminal), run command docker-compose -f docker-compose-migration.yml up
In order to completely remove the previously created infrastructure, the following commands should be executed:
- open terminal, run command docker system prune -a
- run command docker volume prune