add deploy button

This commit is contained in:
Severiano Badajoz
2019-06-25 14:47:59 -07:00
parent 2df93d6d94
commit 906a733783
3 changed files with 30 additions and 10 deletions
+8 -7
View File
@@ -1,10 +1,11 @@
FROM ubuntu:bionic
FROM python:3.7
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
WORKDIR /usr/src/app
RUN apt-get update && \
apt-get install -y build-essential libxml2-dev python3-dev python3-pip zlib1g-dev && \
pip3 install cellxgene
RUN pip3 install cellxgene
ENTRYPOINT ["cellxgene"]
RUN curl -o pbmc3k.h5ad https://raw.githubusercontent.com/chanzuckerberg/cellxgene/master/example-dataset/pbmc3k.h5ad
expose 5005
CMD ["cellxgene", "launch", "pbmc3k.h5ad", "--host", "0.0.0.0"]
+9 -3
View File
@@ -14,21 +14,27 @@ _cellxgene_ (pronounced "sell-by-jean") is an interactive data explorer for sing
## quick start
<a href="https://heroku.com/deploy?template=https://github.com/chanzuckerberg/cellxgene/tree/heroku">
<img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy">
</a>
To install _cellxgene_ you need Python 3.6+. We recommend [installing _cellxgene_ into a conda or virtual environment.](https://chanzuckerberg.github.io/cellxgene/faq.html#how-do-i-create-a-python-36-environment-for-cellxgene)
Install the package.
``` bash
```bash
pip install cellxgene
```
Download an example [anndata](https://anndata.readthedocs.io/en/latest/) file
``` bash
```bash
curl -o pbmc3k.h5ad https://raw.githubusercontent.com/chanzuckerberg/cellxgene/master/example-dataset/pbmc3k.h5ad
```
Launch _cellxgene_
``` bash
```bash
cellxgene launch pbmc3k.h5ad --open
```
+13
View File
@@ -0,0 +1,13 @@
{
"name": "Node.js Sample",
"description": "n interactive explorer for single-cell transcriptomics data",
"repository": "https://github.com/chanzuckerberg/cellxgene/",
"logo": "https://github.com/chanzuckerberg/cellxgene/blob/master/client/favicon.png",
"keywords": [
"scientific",
"visualization",
"scrna-seq",
"transcriptomics",
"dataviz"
]
}