Code formatting

This commit is contained in:
Alokito
2019-09-04 15:45:20 -04:00
committed by GitHub
parent 20706059b6
commit af9c91b5e8
+8 -5
View File
@@ -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'