This application runs within Docker containers. Ensure you have Docker installed before proceeding.
- Download the Application
-
Download the source code for running the application. You can clone the GitHub repository using the following command:
git clone https://github.com/dwchoo/ARROW.git cd ARROW -
If you only want to download the docker-compose file, please run the command below.
wget https://raw.githubusercontent.com/dwchoo/ARROW/refs/heads/main/docker-compose.yml # If you do not have an Nvidia GPU, you must run it using the CPU version below. # wget https://raw.githubusercontent.com/dwchoo/ARROW/refs/heads/main/docker-compose.cpu.yml
-
Run the Application: Navigate to the directory containing the
docker-compose.ymlfile and execute the following command:docker compose up -d # If you do not have an Nvidia GPU, you must run it using the CPU version command below. # docker compose -f docker-compose.cpu.yml up -d
-
Access the Application: Once the containers are running, open your web browser and go to
http://localhost:38080.
Note: This Quick Start uses the default configuration, which is optimized for GPU environments.
The docker-compose.yml file defines how the application is run within Docker. Here's a breakdown of the key options:
runtime: nvidia: This option enables the use of an NVIDIA GPU for accelerated processing. If you don't have an NVIDIA GPU, you should use the CPU version.volumes:- ./gen-ref:/gen_ref: This mounts thegen-refdirectory on your computer to the/gen_refdirectory inside the container. This is where the application expects to find reference files needed for the analysis. You should place your reference files in the./gen-refdirectory.
environment:These are environment variables that configure the application within the container:REF_DIR=/gen_ref: This variable tells the application where to find the reference files inside the container (which is/gen_ref).RESULTS_DIR=/results_dir: This variable specifies where the application should store the results of the analysis inside the container.GMAIL_ID=FalseandGMAIL_PW=False: These variables are used for email notifications. Setting them toFalsedisables email notifications. If you want to enable email notifications, you should replaceFalsewith your Gmail ID and password. (Do not change it,does not work.)DJANGO_SUPERUSER_EMAIL=xxx@email.com: This sets the email address for the Django superuser account. You should changexxx@email.comto your email address. (Do not change it,does not work.)DJANGO_SUPERUSER_USERNAME=admin: This sets the username for the Django superuser account.DJANGO_SUPERUSER_PASSWORD=Arrow: This sets the password for the Django superuser account. You should change this to a more secure password.TIME_ZONE=UTC: This sets the timezone inside the container to Coordinated Universal Time (UTC).NVIDIA_VISIBLE_DEVICES=0: This specifies that the application should use the first available NVIDIA GPU (device0).NVIDIA_DRIVER_CAPABILITIES=compute,utility: This option specifies the capabilities of the NVIDIA driver that the container needs.
ports:- 38080:8080: This maps port38080on your computer to port8080inside the container. This is how you access the web application in your browser athttp://localhost:38080.
This application can be easily installed and run using Docker. Follow the steps below to get started.
To run the application, you must first have Docker installed. If you don't have Docker installed, download and install Docker Desktop for your operating system from the following link:
Download the source code for running the application. You can clone the GitHub repository using the following command:
git clone https://github.com/dwchoo/ARROW.git
cd ARROWBuild the Docker image required to run the application. Execute the following command in the directory containing the docker-compose.yml file:
docker compose buildThis command will build a new image based on the ghcr.io/dwchoo/arrow:latest image, as defined in the docker-compose.yml file. The build process may take some time depending on your internet connection.
Once the Docker image has been built successfully, you can run the application using the following command:
docker compose up -dThe -d option runs the application in detached mode (in the background).
If the application runs successfully, you can access it by opening your web browser and navigating to the following address: http://localhost:38080
To stop the application, execute the following command in the directory containing the docker-compose.yml file:
docker compose down
# CPU version
# docker compose -f docker-compose-cpu.yml downThis command will stop and remove the running containers.


