Merge pull request #120 from chanzuckerberg/csweaver/packaging-improvements

Csweaver/packaging improvements
This commit is contained in:
Charlotte Weaver
2018-07-17 16:25:31 -07:00
committed by GitHub
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -22,12 +22,13 @@ A React + Redux web application for exploring large scale single cell RNA sequen
#### To use with virtual env for python (optional, but recommended) #### To use with virtual env for python (optional, but recommended)
python3 -m venv <env name> ENV_NAME=cellxgene
source <env name>/bin/activate python3 -m venv ${ENV_NAME}
source ${ENV_NAME}/bin/activate
#### install server #### install server
python setup.py install python3 setup.py install
#### run (with demo data) #### run (with demo data)
+1 -1
View File
@@ -15,7 +15,7 @@ Compress(app)
CORS(app) CORS(app)
# Config # Config
CXG_DIR = os.environ.get("CXG_DIRECTORY", default="/Users/charlotteweaver/Documents/Git/cxg-v2/data/") CXG_DIR = os.environ.get("CXG_DIRECTORY", default="example-dataset/")
SECRET_KEY = os.environ.get("CXG_SECRET_KEY", default="SparkleAndShine") SECRET_KEY = os.environ.get("CXG_SECRET_KEY", default="SparkleAndShine")
ENGINE = os.environ.get("CXG_ENGINE", default="scanpy") ENGINE = os.environ.get("CXG_ENGINE", default="scanpy")
TITLE = os.environ.get("DATASET_TITLE", default="PBMC 3K") TITLE = os.environ.get("DATASET_TITLE", default="PBMC 3K")