- Install NVM (https://github.com/nvm-sh/nvm)
nvm use v20.19.0// Use Node.js version 20.19.0- (optional)
nvm alias default 20.19.0// Set nvm to always use Node.js v20.19.0 npm i// install required dependencies- Ensure you've setup heavans docker correctly (https://github.com/KPMP/heavens-docker)
cd ~/{your-path}/heavans-docker/atlas && sh repository-explorer-dev.sh up -dStarts docker services
npm run build// optimizes files for production and sends to docker instance
There are some potential issue with closing docker that are eliminated with the following command
cd ~/{your-path}/heavans-docker/atlas && sh repository-explorer-dev.sh down
- Ensure you either: a) have the latest data loaded on your local machine b) have pointed your local instance to qa KE with the latest data
- Change initialState.json 'recreateUmaps' to true
npm run build- Start up your local Atlas docker environment (see steps in initial setup)
- Point your browser at localhost
- Go to Explorer home page
- Do a gene search
- Pick the dataset type you want to recreate
- Wait until it has loaded the expression plot
- Change your url to
http://localhost/explorer/dataviz/umap - The updated UMAP will load
- Download the image
- Provide the image to Michael to update as needed
- Make sure to put initialState.json back so recreateUmaps is false