Follow the directions below to setup Facets Preview on your local machine.
- Open a terminal and pull the docker image with
docker pull price0416/fp_docker
Facets Preview has a variety of optional features that you may wish to setup, such as accessing institutional data or using HPC resources for data processing.
To facilitate these features, Facets Preview uses SSHFS directory mounting. Create the following recommended directory structure somewhere on your local machine.
Download the launch_fp.sh script and save it to your facets preview directory.
Prepare the script for launch by running chmod 775 launch_fp.sh
.
Facets Preview has a several features that rely on SSHFS mounts of institutional resources. If you would like to setup your install of Facets Preview to use these functions, see the following sections:
- Access institutional FACETS IMPACT data repository.
- Access FACETS TCGA data repository.
- Perform refits with HPC scheduler.
- Create personal refits of institutional data.
- Navigate to your Facets Preview directory and run
./launch_fp.sh
. This will initiate the required processes for Facets Preview and launch the Docker image. You will notice the prompt on your terminal now showsroot@randomNumberString
. - The container will automatically launch Facets Preview.
- Open a browser and navigate to http://0.0.0.0:3838/
- At this point you can consider yourself to be "inside" the running container. If you want to stop running Facets Preview, press CTRL+D in the docker container. If you want to exit the container, use CTRL+D.