mirror of
https://github.com/Novartis/cellxgene-gateway.git
synced 2026-09-28 04:38:11 +08:00
Code formatting
This commit is contained in:
@@ -9,23 +9,26 @@ Cellxgene Gateway allows you to use the Cellxgene Server provided by the Chan Zu
|
||||
python --version
|
||||
|
||||
1. Set up a venv with
|
||||
|
||||
```
|
||||
python -m venv .cellxgene-gateway
|
||||
source .cellxgene-gateway/bin/activate
|
||||
```
|
||||
|
||||
2. Install requirements with
|
||||
|
||||
```
|
||||
pip install -r requirements.txt
|
||||
|
||||
```
|
||||
3. Prepare a folder with .h5ad files, for example
|
||||
|
||||
```
|
||||
mkdir cellxgene_data
|
||||
wget https://github.com/chanzuckerberg/cellxgene/raw/master/example-dataset/pbmc3k.h5ad -O ../cellxgene_data/pbmc3k.h5ad
|
||||
```
|
||||
|
||||
4. Copy run.sh.example to run.sh:
|
||||
|
||||
```
|
||||
cp run.sh.example run.sh
|
||||
|
||||
```
|
||||
`run.sh` defines various environment variables:
|
||||
|
||||
* DEPLOYMENT_ENV - expects 'dev', 'tst' or 'prd'
|
||||
|
||||
Reference in New Issue
Block a user