From d31c05c970319923fe588a9aaa26d0dcde30a32e Mon Sep 17 00:00:00 2001 From: Charlotte Weaver Date: Tue, 29 Jan 2019 11:41:05 -0800 Subject: [PATCH] Add backed script to package.json (#566) * QOL script for FE devs to get & launch the backend * ensure python3.6 * changed name to backend-dev --- client/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/client/package.json b/client/package.json index 8786fdf8..1b2a909a 100644 --- a/client/package.json +++ b/client/package.json @@ -5,6 +5,7 @@ "description": "cellxgene is a web application for the interactive exploration of single cell sequence data.", "repository": "https://github.com/chanzuckerberg/cellxgene", "scripts": { + "backend-dev": "python3.6 -m venv cellxgene && source cellxgene/bin/activate && yes | pip uninstall cellxgene || true && pip install -e .. && cellxgene launch ", "build": "npm run clean && webpack --config configuration/webpack/webpack.config.prod.js", "dev": "npm run clean && webpack --config configuration/webpack/webpack.config.dev.js", "clean": "rimraf build",